This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/30985] Misleading error message for -huge(integer)-1
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Feb 2007 20:49:39 -0000
- Subject: [Bug fortran/30985] Misleading error message for -huge(integer)-1
- References: <bug-30985-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from kargl at gcc dot gnu dot org 2007-02-27 20:49 -------
This is a bogus PR. The are no negative numbers.
This is a unary minus operation and 2147483648
is too big for INTEGER(4). The only method to
get the most negative value is -HUGE() - 1.
--
kargl at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kargl at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30985