[Bug fortran/106692] [12/13/14/15 Regression] Cray pointer comparison wrongly optimized away
anlauf at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 31 15:05:40 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106692
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |10.5.0, 11.5.0, 12.4.1,
| |13.3.1, 14.2.1, 15.0,
| |7.5.0, 8.5.0, 9.5.0
--- Comment #12 from anlauf at gcc dot gnu.org ---
This very local, hackish patch marks the Cray pointers as volatile only
for comparisons, fixes the testcase and does not regress with the analyzer
testcases. Not tested further.
What do others think?
More information about the Gcc-bugs
mailing list