https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110629
kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu.org Priority|P3 |P4 --- Comment #1 from kargl at gcc dot gnu.org --- Thanks for the bug report. This seems to have been fixed in trunk. I don't have gfortran 13.1 installed so cannot test. % gfcx -o z a.f90 && ./z 1 |big | 2 |red | 3 |dog | % gfcx -o z -O a.f90 && ./z 1 |big | 2 |red | 3 |dog | % gfortran12 -o z -O a.f90 && ./z 1 |big | 2 ||big| 3 ||big|| There are a few Changelog entries over the last year that mention deferred length, but it's unclear which one might have fixed the issue.