[Bug fortran/72714] ICE in gfc_array_init_size, at fortran/trans-array.c:5235

gerhard.steinmetz.fortran@t-online.de gcc-bugzilla@gcc.gnu.org
Wed Jul 27 19:45:00 GMT 2016


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

--- Comment #1 from Gerhard Steinmetz <gerhard.steinmetz.fortran@t-online.de> ---

Correct variants, for completeness :

$ cat z2.f90
program p
   integer, allocatable :: z(:)[:,:]
   allocate (z(2)[3,*])
end

$ cat z3.f90
program p
   integer, allocatable :: z(:)[:,:]
   allocate (z(2)[1:3,*])
end


More information about the Gcc-bugs mailing list