https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80164
--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- The patch in comment 2 fixes the failures FAIL: gfortran.dg/where_operator_assign_2.f90 -O (internal compiler error) FAIL: gfortran.dg/where_operator_assign_3.f90 -O (internal compiler error) FAIL: gfortran.dg/where_operator_assign_1.f90 -O (internal compiler error) but not FAIL: gfortran.dg/ieee/ieee_1.F90 -O* (internal compiler error) FAIL: gfortran.dg/ieee/large_3.F90 -O* (internal compiler error) The additional errors are /opt/gcc/_clean/gcc/testsuite/gfortran.dg/where_operator_assign_1.f90:82:69: pv((2_I4*i-1_I4):(2_I4*i))= iaef((/(2_I4*i-1_I4),(2_I4*i)/)) 1 Warning: Creating array temporary at (1) [-Warray-temporaries] /opt/gcc/_clean/gcc/testsuite/gfortran.dg/where_operator_assign_2.f90:46:45: x = (/a (0, 1),a (0, 2),a (0, 3),a (0, 4)/) 1 Would it be possible to have a better location?