[Bug fortran/37930] gfortran error and ICE at automatic type conversion with transfer intrinsic
jvdelisle at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Oct 31 04:48:00 GMT 2008
------- Comment #18 from jvdelisle at gcc dot gnu dot org 2008-10-31 04:46 -------
Subject: Bug 37930
Author: jvdelisle
Date: Fri Oct 31 04:45:28 2008
New Revision: 141488
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141488
Log:
2008-10-30 Steven G. Kargl <kargls@comcast.net>
PR fortran/37930
* fortran/arith.c (gfc_mpfr_to_mpz): Test for NaN and Inf values.
Remove stale comment and kludge code for MPFR 2.0.1 and older.
(gfc_real2int): Error on conversion of NaN or Inf.
(gfc_complex2int): Ditto.
* fortran/arith.h: Update mpfr_to_mpz prototype.
* fortran/simplify.c (gfc_simplify_ceiling, gfc_simplify_floor,
gfc_simplify_ifix, gfc_simplify_idint, simplify_nint): Update function
calls to include locus.
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/arith.c
trunk/gcc/fortran/arith.h
trunk/gcc/fortran/simplify.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37930
More information about the Gcc-bugs
mailing list