------- Comment #5 from burnus at gcc dot gnu dot org 2010-09-06 17:55 ------- More failures:
use iso_fortran_env integer :: i print *, shape(real_kinds(1)) ! should be rejected (scalar) i = real_kinds(1) ! ICE end Thus, the FE has problems if one takes a REF of an EXPR_ARRAY, i.e. the shape does not get updated. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40571