OSDN Git Service

PR fortran/32048
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Jul 2007 15:23:11 +0000 (15:23 +0000)
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Jul 2007 15:23:11 +0000 (15:23 +0000)
commit34203d28b4109d309423f5e1d4c177b3bb9575c7
tree9929c388cc73a98ff25ef599b9a7375c67cab0a8
parent5d1b319b5608a568e3716864c701e4d65329f932
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127019 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/f95-lang.c
gcc/fortran/trans-intrinsic.c
gcc/testsuite/gfortran.dg/nan_1.f90 [new file with mode: 0644]