[Bug fortran/82258] [8 regression] allocate_zerosize_3.f fails since r251949
tkoenig at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Sep 23 13:19:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82258
--- Comment #8 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Could you try the following program:
program try_lf0030
call LF0030(10)
end
SUBROUTINE LF0030(nf10)
INTEGER ILA1(7)
INTEGER ILA2(7)
LOGICAL LLA(:,:,:,:,:,:,:)
INTEGER ICA(7)
ALLOCATABLE LLA
ALLOCATE (LLA(2:3, 4, 0:5,
$ NF10:1, -2:7, -3:8,
$ -4:9))
ILA1 = LBOUND(LLA)
ILA2 = UBOUND(LLA)
print *,ila1
print *,ila2
END SUBROUTINE
and report its output?
On the machines I have access to, the output is
2 1 0 1 -2 -3
-4
3 4 5 0 7 8
9
More information about the Gcc-bugs
mailing list