https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103766
--- Comment #12 from hubicka at kam dot mff.cuni.cz --- > Even trying to find a Fortran testsuite friendly version is hard because the > issue can only happen with print, I tried even doing internal write to a > string > it is passing without any changes. Yep, any reads that happen in the code visible to compiler will prevent the bug from happening. It is a hard case - but as I said I think there is quite low chance of it going back.