Commit e999ee52 by Francois-Xavier Coudert Committed by François-Xavier Coudert

default_format_1.f90: Move denormals tests to gfortran.dg/default_format_denormal_1.f90.

	* gfortran.dg/default_format_1.f90: Move denormals tests to
	gfortran.dg/default_format_denormal_1.f90.
	* gfortran.dg/default_format_denormal_1.f90: Added denormal tests.

From-SVN: r135170
parent 1402079f
2008-05-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
* gfortran.dg/default_format_1.f90: Move denormals tests to
gfortran.dg/default_format_denormal_1.f90.
* gfortran.dg/default_format_denormal_1.f90: Added denormal tests.
2008-05-10 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
* gfortran.dg/nint_2.f90: XFAIL on mingw.
......@@ -12,14 +12,12 @@ program main
use test_default_format
if (test (1.0_4, 0) /= 0) call abort
if (test (0.0_4, 0) /= 0) call abort
if (test (tiny(0.0_4), 1) /= 0) call abort
if (test (-tiny(0.0_4), -1) /= 0) call abort
if (test (huge(0.0_4), -1) /= 0) call abort
if (test (-huge(0.0_4), 1) /= 0) call abort
if (test (1.0_8, 0) /= 0) call abort
if (test (0.0_8, 0) /= 0) call abort
if (test (tiny(0.0_8), 1) /= 0) call abort
if (test (-tiny(0.0_8), -1) /= 0) call abort
if (test (huge(0.0_8), -1) /= 0) call abort
......
! { dg-do run { xfail *-apple-darwin* *-*-freebsd* } }
! { dg-do run { xfail *-apple-darwin* *-*-freebsd* *-*-mingw* } }
! Test XFAILed on these platforms because the system's printf() lacks
! proper support for denormals.
!
......@@ -13,9 +13,12 @@ program main
if (test (tiny(0.0_4), -1) /= 0) call abort
if (test (-tiny(0.0_4), 1) /= 0) call abort
if (test (0.0_4, 0) /= 0) call abort
if (test (tiny(0.0_8), -1) /= 0) call abort
if (test (-tiny(0.0_8), 1) /= 0) call abort
if (test (0.0_8, 0) /= 0) call abort
end program main
!
! { dg-final { cleanup-modules "test_default_format" } }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment