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/37407] gbytes.f:4: erreur interne du compilateur: dans error_print, Ã



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


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