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/32048] max/min and NaN



------- Comment #8 from fxcoudert at gcc dot gnu dot org  2007-07-28 15:23 -------
Subject: Bug 32048

Author: fxcoudert
Date: Sat Jul 28 15:23:11 2007
New Revision: 127019

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127019
Log:
        PR fortran/32048

        * f95-lang.c (gfc_init_builtin_functions): Add declaration for
        __builtin_isnan.
        * trans-intrinsic.c (gfc_conv_intrinsic_minmax): Handled NaNs.

        * gfortran.dg/nan_1.f90: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/nan_1.f90
Modified:
    trunk/gcc/fortran/f95-lang.c
    trunk/gcc/fortran/trans-intrinsic.c


-- 


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


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