From 0391fec091950e7d2cbeb16958da9f7c3f9107d2 Mon Sep 17 00:00:00 2001 From: kargl Date: Thu, 14 Apr 2005 16:31:50 +0000 Subject: [PATCH] * gfortran.dg/underflow.f90: Use tiny(x)/huge(x). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98142 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gfortran.dg/underflow.f90 | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 83d08f5..ef5ebd4 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 0c1018b..c6c9c37 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 -- 2.7.4