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

gscfq@t-online.de gcc-bugzilla@gcc.gnu.org
Tue May 15 19:19:00 GMT 2018


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)


More information about the Gcc-bugs mailing list