https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82904
--- Comment #1 from G. Steinmetz <gs...@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 ...