arm: Add .type and .size to __gnu_cmse_nonsecure_call [PR115360]
[official-gcc.git] / gcc / testsuite / gfortran.dg / default_format_denormal_1.f90
blobfb7c36478458cf7b04d04e3eee0a69e3468874a3
1 ! { dg-do run { xfail *-*-darwin[89]* *-*-cygwin* } }
2 ! Test XFAILed on these platforms because the system's printf() lacks
3 ! proper support for denormals.
5 ! This tests that the default formats for formatted I/O of reals are
6 ! wide enough and have enough precision, by checking that values can
7 ! be written and read back.
9 ! { dg-add-options ieee }
11 include "default_format_1.inc"
13 program main
14 use test_default_format
16 if (test (tiny(0.0_4), -1) /= 0) STOP 1
17 if (test (-tiny(0.0_4), 1) /= 0) STOP 2
18 if (test (0.0_4, 0) /= 0) STOP 3
20 if (test (tiny(0.0_8), -1) /= 0) STOP 4
21 if (test (-tiny(0.0_8), 1) /= 0) STOP 5
22 if (test (0.0_8, 0) /= 0) STOP 6
24 end program main