https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78240
Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-11-07 Ever confirmed|0 |1 --- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- I don't see any ICE for 4.8 and 4.9 (without -fdec indeed): pr78240.f90:2.3: structure /s/ 1 Error: Unclassifiable statement at (1) pr78240.f90:4.6: end structure 1 Error: Expecting END PROGRAM statement at (1) pr78240.f90:3.16: integer x(n) /1/ 1 Error: Variable 'n' cannot appear in the expression at (1) pr78240.f90:3.18: integer x(n) /1/ 1 Error: The module or main program array 'x' at (1) must have constant shape <During initialization> Error: Nonconstant array section at (1) in DATA statement