-
Notifications
You must be signed in to change notification settings - Fork 357
[flang][tests] Disable Fortran/gfortran/regression/finalize_38.f90 #277
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
base: main
Are you sure you want to change the base?
Conversation
@@ -383,6 +383,9 @@ file(GLOB UNIMPLEMENTED_FILES CONFIGURE_DEPENDS | |||
norm2_3.f90 | |||
pr96711.f90 | |||
|
|||
# pmk? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test was not in the description?
@@ -1850,4 +1850,7 @@ file(GLOB FAILING_FILES CONFIGURE_DEPENDS | |||
# warning, so long as it is not used in that scope. | |||
use_15.f90 | |||
use_rename_8.f90 | |||
|
|||
# The "stop 171" case expects an incorrect number of finalizations. | |||
finalize_38.f90 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From the description of the PR, it sounds like this test will never pass with flang because, gfortran's finalization behavior is different from flang's. If this is the case, it may be better to move this to the UNSUPPORTED_FILES
list above.
One test case in finalize_38.f90 expects that an allocatable component of an expression result will not be finalized. The flang-new compiler is being updated by the pull request llvm/llvm-project#153509 to ensure finalization of allocatables when they are deallocated, since this is an event that triggers finalization (F'2023 7.5.6.3p2) on a finalizable (3.71) data entity (3.41).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the change.
One test case in finalize_38.f90 expects that an allocatable component of an expression result will not be finalized. The flang-new compiler is being updated by the pull request
llvm/llvm-project#153509
to ensure finalization of allocatables when they are deallocated, since this is an event that triggers finalization (F'2023 7.5.6.3p2) on a finalizable (3.71) data entity (3.41).