https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68224
Bug ID: 68224 Summary: ICE on referencing parameter array with dimension null Product: gcc Version: 5.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gerhard.steinmetz.fort...@t-online.de Target Milestone: --- Referencing a parameter array with dimension null : $ cat z1.f90 program p integer, parameter :: c(null()) = [1, 2] integer, parameter :: a = c(1) integer :: b = c(2) end $ gfortran -g -O0 -Wall -fcheck=all z1.f90 f951: internal compiler error: in find_array_element, at fortran/expr.c:1222