Skip to content

[Fortran] Disable gfortran volatile8 test #239

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 29, 2025

Conversation

ashermancinelli
Copy link
Contributor

This test expects the compiler to give a compilation error. Current LLVM flang does emit an error, but it's a TODO message because volatile variables are not handled yet. There are upcoming PRs to enable this though, and the front end ought to emit some diagnostic about this. Eugene E and Peter K are discussing whether these should be warnings or errors. While this is being discussed, disable the test so work on volatile can proceed.

LLVM PR requiring this change
LLVM issue discussing how to handle this test case

CC @kiranchandramohan @eugeneepshteyn @vzakhari

This test expects the compiler to give a compilation error. Current LLVM
flang does emit an error, but it's a TODO message because volatile variables
are not handled yet. There are upcoming PRs to enable this though, and the
front end ought to emit some diagnostic about this. Eugene E and Peter K
are discussing whether these should be warnings or errors. While this is
being discussed, disable the test so work on volatile can proceed.

llvm-project#137369
@ashermancinelli ashermancinelli self-assigned this Apr 28, 2025
Copy link
Contributor

@tarunprabhu tarunprabhu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once the discussion on how to handle this is resolved, could you update the comment to provide a bit more detail? At some point, we need to go through and decide which tests should be permanently disabled, and which could be handled differently*. A more detailed comment would be of great help. Thanks!

* There is a mechanism to override the 'xfail' status of a test without modifying the test itself).

@ashermancinelli
Copy link
Contributor Author

Yes! We intend on re-enabling this test, so it should not be disabled for long. Just so buildbots are green while we're in transition. Thank you!

@ashermancinelli ashermancinelli merged commit ec43120 into llvm:main Apr 29, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants