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


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