https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82009
kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu.org --- Comment #2 from kargl at gcc dot gnu.org --- (In reply to janus from comment #1) > Confirmed. ICEs with every gfortran version I tried, from 4.7 up to trunk. > > Slight reduction: > > MODULE csx > IMPLICIT NONE > CONTAINS > SUBROUTINE csr > block > end block > END > SUBROUTINE csc > WRITE(*,*) 'An*x: t' > block > integer, dimension(1), parameter :: idxs=[1] > print *, idxs(1) > end block > END > END The above code compiles for me on trunk (gcc version 9.0.0 20180609)