This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/37407] gbytes.f:4: erreur interne du compilateur: dans error_print, Ã
- From: "tkoenig at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Sep 2008 13:54:17 -0000
- Subject: [Bug fortran/37407] gbytes.f:4: erreur interne du compilateur: dans error_print, Ã
- References: <bug-37407-16674@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from tkoenig at gcc dot gnu dot org 2008-09-07 13:54 -------
4.2.1 is rather old.
Using 4.2.4 (Debian 4.2.4-3) on the same code, I get
$ gfortran-4.2 -c -g -fconvert=big-endian -frecord-marker=4 bytes.f
bytes.f:36.65:
+Z'1FFFFFFF', Z'3FFFFFFF', Z'7FFFFFFF', Z'FFFFFFFF'/
1
Error: Arithmetic overflow converting INTEGER(8) to INTEGER(4) at (1)
The error goes away if I supply the -fno-range-check option.
Judging from the position of the ICE, this is probably an error
in error reporting. Could you try simply to add "-fno-range-check"
and see if the error (and the ICE) go away?
Alternatively, you could upgrade your compiler (I would recommend
4.3.2, which has just been released).
--
tkoenig at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tkoenig at gcc dot gnu dot
| |org
Severity|blocker |normal
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37407