This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/29580] integer -2147483648 out of range: bug or feature?
- From: "kloedej at knmi dot nl" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Oct 2006 15:04:40 -0000
- Subject: [Bug fortran/29580] integer -2147483648 out of range: bug or feature?
- References: <bug-29580-11277@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from kloedej at knmi dot nl 2006-10-24 15:04 -------
In my simple view as a physicist the minus sign is an integral part of the
number and not an operation on it, but then I didn't have a formal computer
science education. As a gfortran programmer you have a choice here I would say.
Just note that you can expect a lot of complaints about this behaviour, since
all other compilers that I regularly use (ifort, g95, pgf90) accept -2147483648
as a proper 4 byte integer constant without any warnings.
Also note that I was not able to find the mail you refer to on the gfortran
mailing list. Searching on -2147483648 yields nothing, and there is way to much
noise to find it by browsing through the list.
best regards,
Jos de Kloe
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29580