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/37930] gfortran error and ICE at automatic type conversion with transfer intrinsic



------- Comment #5 from dominiq at lps dot ens dot fr  2008-10-28 13:30 -------
On *-Darwin9 I get:

      i = transfer(-1,1.0)
         1
Error: Arithmetic overflow converting REAL(4) to INTEGER(4) at (1). This check
can be disabled with the option -fno-range-check

If I use the option -fno-range-check I get:

gfortran: Internal error: Illegal instruction (program f951)
Please submit a full bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

on Intel and

Out of stack space.
Try running 'limit stacksize unlimited' in the shell to raise its limit.

on ppc.

I have not tested the patch in
http://gcc.gnu.org/ml/gcc-patches/2008-10/msg01183.html, but I am afraid that
it will just hide the bug.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37930


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