[Bug fortran/70071] ICE on wrong usage of a subscript triplet
gerhard.steinmetz.fortran@t-online.de
gcc-bugzilla@gcc.gnu.org
Thu Mar 3 20:49:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70071
--- Comment #1 from Gerhard Steinmetz <gerhard.steinmetz.fortran@t-online.de> ---
Whereas :
$ cat z3.f90
program p
integer, allocatable :: z(:)[:,:]
allocate (z(1::2)[2,*])
end
$ gfortran-6 -fcoarray=single z3.f90
z3.f90:3:13:
allocate (z(1::2)[2,*])
1
Error: Bad array specification in ALLOCATE statement at (1)
More information about the Gcc-bugs
mailing list