This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]