[Bug fortran/15335] runtime error "Attempt to allocate a negative amount of memory"
fxcoudert at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Mar 2 09:37:00 GMT 2006
------- Comment #18 from fxcoudert at gcc dot gnu dot org 2006-03-02 09:37 -------
(In reply to comment #17)
> For i=3 or greater, gfortran and ifort agree on the value of b. However, for
> the above, gfortran now gives 0, whilst ifort gives 1. I happen to think that
> 0 makes more sense but.... does anybody know the accepted result?
I think this is PR 25378. The correct answer is undefined as per F95, and is 1
as per F2003.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15335
More information about the Gcc-bugs
mailing list