[Bug fortran/13490] [gfortran] Compiler rejects valid constant -2147483648 for 32-bit int

coyote at coyotegulch dot com gcc-bugzilla@gcc.gnu.org
Fri Dec 26 19:37:00 GMT 2003


------- Additional Comments From coyote at coyotegulch dot com  2003-12-26 19:01 -------
gfortran is behaving correctly according to the Standard.

In reflection of interoperability needs, I've posted a patch to pcc-patches that
implements a new flag, -fasymmetrical-integers. This flag tells gfortran to
accept integers in the range [-n-1,n], whereas the standard requires the range
[-n,n].

-- 


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



More information about the Gcc-bugs mailing list