From: Steven G. Kargl Date: Thu, 14 Apr 2005 16:31:50 +0000 (+0000) Subject: * gfortran.dg/underflow.f90: Use tiny(x)/huge(x). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ab13f408ce00a144b9be5027c72f5dee3fb45887;p=gcc.git * gfortran.dg/underflow.f90: Use tiny(x)/huge(x). From-SVN: r98142 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 83d08f52ed2..ef5ebd421c7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2005-04-14 Steven G. Kargl + + * gfortran.dg/underflow.f90: Use tiny(x)/huge(x). + 2005-04-14 Kazu Hirata PR tree-optimization/20657 diff --git a/gcc/testsuite/gfortran.dg/underflow.f90 b/gcc/testsuite/gfortran.dg/underflow.f90 index 0c1018b593b..c6c9c370e76 100644 --- a/gcc/testsuite/gfortran.dg/underflow.f90 +++ b/gcc/testsuite/gfortran.dg/underflow.f90 @@ -1,5 +1,5 @@ ! { dg-do compile} program a real x - x = 1e-20 / 1e+20 ! { dg-warning "Arithmetic underflow" "" } + x = tiny(x) / huge(x) ! { dg-warning "Arithmetic underflow" "" } end program a