https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96013
--- Comment #10 from kargl at gcc dot gnu.org --- (In reply to Dominique d'Humieres from comment #9) > > > Sometime the test ICE with > > > > > > f951: internal compiler error: gfc_code2string(): Bad code > > > > > > which cannot be fixed by the patch in comment 6. > > > > > > > Don't know anything about libsantize. > > The error has nothing to do with libsanitize. So, then why are you posting incomprehensible garbage from libsanitize, which may have absolutely nothing to do with this patch. The patch in comment #6 prevents the segfault; thereby allowing f951 to continue with the processing of the source code. > It is generated by gfc_code2string in gcc/fortran/misc.c > in a random manner. I cannot reproduce your results. Without a method to reproduce the issue and/or a complete backtrace with line numbers, I standby my assertion that the patch in comment #6 fixes the segfault reported by Gerhard. More importantly, it does not matter if the patch fixes the segfault, because no one is going to commit it anyway.