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

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kargl at gcc dot gnu.org

--- Comment #9 from kargl at gcc dot gnu.org ---
Programs z1.f90, z2.f90, z3.f90, z5.f90 now give the error

troutmask:sgk[271] gfcx -o z z3.f90 && ./z
a.f90:4:9:

    4 |    data (c(i:i), i=1,999) /999*'c'/
      |         1
Error: Invalid substring in data-implied-do at (1) in DATA statement

Oddly, za.f90 compiles because the variable is implicitly defined
to be of type integer.  If 'integer i' is added to this case, then
an error is issued.

Reply via email to