https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61831
--- Comment #50 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- Compiling the original test of pr40440 after revision r225926 gives an ICE: [Book15] f90/bug% gfcp pr40440.f90 iso_varying_string.o pr40440.f90:69:0: call ifile_append_from_string (ifile, var_str (trim (char))) 1 internal compiler error: Segmentation fault: 11 A variant that does not require iso_varying_string ICE with pr40440_2.f90:2456:0: rep_string = substring//extract(work_string, start=i_target+length_target)//rep_string 1 internal compiler error: Segmentation fault: 11 Should I file a new PR?