* gfortran.dg/underflow.f90: Use tiny(x)/huge(x).
authorSteven G. Kargl <kargls@comcast.net>
Thu, 14 Apr 2005 16:31:50 +0000 (16:31 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Thu, 14 Apr 2005 16:31:50 +0000 (16:31 +0000)
From-SVN: r98142

gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/underflow.f90

index 83d08f52ed21cac46689c7cdc83d0cc3dffc650b..ef5ebd421c7c60185a79265cd473c338aa74eba7 100644 (file)
@@ -1,3 +1,7 @@
+2005-04-14  Steven G. Kargl  <kargls@comcast.net>
+
+       * gfortran.dg/underflow.f90: Use tiny(x)/huge(x).
+
 2005-04-14  Kazu Hirata  <kazu@cs.umass.edu>
 
        PR tree-optimization/20657
index 0c1018b593ba059efa2a7d200fdaa635a4d50a81..c6c9c370e76790411700d77e3c36db6327261734 100644 (file)
@@ -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