https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66929

            Bug ID: 66929
           Summary: [6 regression] ICE with iso_varying_string
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mikael at gcc dot gnu.org
  Target Milestone: ---

Originally reported by Dominique at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61831#c50

> 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
>

Reply via email to