This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/30514] zero-sized array wrongly rejected: integer :: i(1:-1)
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jan 2007 21:28:15 -0000
- Subject: [Bug fortran/30514] zero-sized array wrongly rejected: integer :: i(1:-1)
- References: <bug-30514-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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