------- Comment #2 from preuter64 at yahoo dot de 2008-09-07 14:12 ------- Subject: Re: gbytes.f:4: erreur interne du compilateur: dans error_print, X
Dear! The option does the trick, and the program compiles ! Thanks for your help! Patrick tkoenig at gcc dot gnu dot org <[EMAIL PROTECTED]> a écrit : > > > ------- 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 > > ------- You are receiving this mail because: ------- > You reported the bug, or are watching the reporter. > -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37407