Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gfortran.dg/nan_4.f90 @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 ! { dg-do compile } |
145 | 2 ! { dg-options "-std=gnu -fallow-invalid-boz" } |
111 | 3 ! { dg-add-options ieee } |
4 ! | |
5 ! PR fortran/34398. | |
6 ! | |
7 ! Check for invalid numbers in bit-wise BOZ transfers | |
8 ! | |
9 program test | |
10 implicit none | |
145 | 11 real(4), parameter :: r0 = z'FFFFFFFF' ! { dg-warning "BOZ literal constant" } |
111 | 12 real(4) r |
145 | 13 data r/z'FFFFFFFF'/ ! { dg-warning "BOZ literal constant" } |
14 r = z'FFFFFFFF' ! { dg-warning "BOZ literal constant" } | |
111 | 15 end program test |