2 ! { dg-options "-fno-range-check" }
3 ! { dg-require-effective-target fortran_real_16 }
4 ! { dg-require-effective-target fortran_integer_16 }
5 ! { dg-skip-if "" { "powerpc*le-*-*" } { "*" } { "" } }
6 ! PR47293 NAN not correctly read
7 character(len
=200) :: str
10 integer(16), parameter :: quietnan
= 170099645085600953110659059745250344960
12 str
= 'NAN' ; read(str
,*) r
14 k2
= iand(k2
, z
'fff80000000000000000000000000000')
15 if (k2
.ne
.quietnan
) call abort