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/13490] [gfortran] Compiler rejects valid constant -2147483648 for 32-bit int


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


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