This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/85798] ICE in get_array_index, at fortran/data.c:69


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

--- Comment #1 from G. Steinmetz <gscfq@t-online.de> ---

For comparison :


$ cat z2.f90
program p
   integer, allocatable :: a(:)
   data a(1) / 789 /
end


$ gfortran-9-20180513 -c z2.f90
z2.f90:3:7:

    data a(1) / 789 /
       1
Error: DATA attribute conflicts with ALLOCATABLE attribute in 'a' at (1)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]