This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/13490] [gfortran] Compiler rejects valid constant -2147483648 for 32-bit int
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Dec 2003 17:54:26 -0000
- Subject: [Bug fortran/13490] [gfortran] Compiler rejects valid constant -2147483648 for 32-bit int
- References: <20031225175047.13490.coyote@coyotegulch.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-12-25 17:54 -------
Most likely what is happening is also happens in C that 2147483648 has to defined as an unsigned
and then the negative is applied causing this error.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |rejects-valid
Summary|Compiler rejects valid |[gfortran] Compiler rejects
|constant -2147483648 for 32-|valid constant -2147483648
|bit int |for 32-bit int
Target Milestone|--- |tree-ssa
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13490