[Bug fortran/82904] ICE in make_ssa_name_fn, at tree-ssanames.c:261
gscfq@t-online.de
gcc-bugzilla@gcc.gnu.org
Wed Nov 8 17:34:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82904
--- Comment #1 from G. Steinmetz <gscfq@t-online.de> ---
Without this explicit "save" in above source, an ICE only occurs with
additional option -fno-automatic (which implies "save") :
$ cat z2.f90
program p
character(:), allocatable :: x
character(:), allocatable :: y[:]
allocate (character(3) :: y[*])
allocate (x, source='abc')
y[1] = x
end
$ gfortran-8-20171105 -O2 -c z2.f90 -fcoarray=lib
$
$ gfortran-8-20171105 -O2 -c z2.f90 -fcoarray=lib -fno-automatic
during IPA pass: inline
z2.f90:7:0:
end
internal compiler error: Segmentation fault
...
More information about the Gcc-bugs
mailing list