[Bug fortran/69298] [OOP] Array finalisers seem to be given the wrong array when the array is a member variable
matthew.hambley at metoffice dot gov.uk
gcc-bugzilla@gcc.gnu.org
Tue Nov 20 08:27:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69298
--- Comment #7 from matthew.hambley at metoffice dot gov.uk ---
A recent migration to RHEL7 seems to have exacerbated this issue.
Previously it could be worked around by ensuring that a type with user
finaliser appeared before the array of finaliser types in the member variables
list.
It seems that something has changed which means it is now no longer possible to
work around it. The failure happens regardless of what other member variables
exist.
I hope this additional information helps resolve this problem as it renders our
unit tests (using pFUnit) non-functional with GCC.
More information about the Gcc-bugs
mailing list