https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80442

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
With 4.8 I get the following error

pr80442.f90:5.10:

    data (j(i:i), i=1,4) /1, 2, 3, 4/
          1
Error: Nonconstant array section at (1) in DATA statement

The code compiles and runs if I replace (j(i:i), i=1,4) with j(1:4).

Reply via email to