[Bug fortran/103662] TBAA problem in Fortran FE triggering in gfortran.dg/unlimited_polymorphic_3.f03
anlauf at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 14 18:27:31 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103662
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |anlauf at gcc dot gnu.org
--- Comment #3 from anlauf at gcc dot gnu.org ---
Can you explain in simple words why adding
if (ptr1%k .ne. 42) print *
before the line
if (ptr1%k .ne. 42) STOP 2
makes the test succeed, but adding it after that one the test fails?
Or adding
print *, ptr1%k
near the end of subroutine foo?
More information about the Gcc-bugs
mailing list