This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/37930] gfortran error and ICE at automatic type conversion with transfer intrinsic
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Oct 2008 13:30:28 -0000
- Subject: [Bug fortran/37930] gfortran error and ICE at automatic type conversion with transfer intrinsic
- References: <bug-37930-8911@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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