OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* gfortran.dg/underflow.f90: Use tiny(x)/huge(x).
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gfortran.dg
/
underflow.f90
diff --git
a/gcc/testsuite/gfortran.dg/underflow.f90
b/gcc/testsuite/gfortran.dg/underflow.f90
index
0c1018b
..
c6c9c37
100644
(file)
--- 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