[Bug fortran/30514] zero-sized array wrongly rejected: integer :: i(1:-1)

fxcoudert at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jan 22 21:28:00 GMT 2007



------- Comment #3 from fxcoudert at gcc dot gnu dot org  2007-01-22 21:28 -------
(In reply to comment #2)
> This fixes the PR but I have not yet determined if it is standard conforming
> behaviour

I'm almost sure it is. Usually, we need to take care of the case for negative
stride, but here obviously it's not a problem :)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30514



More information about the Gcc-bugs mailing list