https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101997
--- Comment #3 from anlauf at gcc dot gnu.org --- Created attachment 51348 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51348&action=edit Partial backport of commit ac932bfcd21e9523fa2b880ae8138aef79da7f54 It's not that the cherry-pick went wrong. I looked into my notes and saw that I did not backport to 9-branch some patches that seemed require additional work. In particular I did not backport the fix for PR95687, as the related testcase would still ICE due to other missing stuff. I have isolated the part of r11-1568 that should handle the dynamic string length recommended for handling these issues, but I am not 100% sure whether this is sufficient. I removed the testcase part of that patch, as even that would still ICE on x86_64-pc-linux-gnu because of missing other backports. Alternatively one could temporarily (in the sense of 9-only) use enlarged static buffers, just to fix the present ICE. Comments? @Richi: is there a simple way to compile only the gcc/fortran subdirectory using specific CFLAGS without having to recompile anything else?