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?