https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93338
G. Steinmetz <gs...@t-online.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code --- Comment #1 from G. Steinmetz <gs...@t-online.de> --- No ICE without "target", except for -fno-automatic : $ cat z2.f90 program p type t character(:), allocatable :: a(:) end type type(t), allocatable :: x x = t(['abc']) associate (y => x%a(:)) if ( any(y /= 'abc') ) stop end associate end $ gfortran-10-20200119 -c z2.f90 -O0 -fno-automatic $ gfortran-10-20200119 -c z2.f90 -O2 $ $ gfortran-10-20200119 -c z1.f90 -O2 -fno-automatic during IPA pass: inline #...