2004-06-30 David Billinghurst (David.Billinghurst@riotinto.com)
PR fortran/16289
* gfortran.fortran-torture/execute/intrinsic_nearest.f90
Use tiny() intrinsic to find smallest non-negative real
From-SVN: r83904
+ 2004-06-30 David Billinghurst (David.Billinghurst@riotinto.com)
+
+ PR fortran/16289
+ * gfortran.fortran-torture/execute/intrinsic_nearest.f90
+ Use tiny() intrinsic to find smallest non-negative real
+
2004-06-30 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/compat/struct-by-value-22_main.c: New test.
program test_nearest
real s, r, x, y, inf, max, min
- integer i, infi, maxi, mini
+ integer i, infi, maxi
equivalence (s,i)
equivalence (inf,infi)
equivalence (max,maxi)
- equivalence (min,mini)
r = 2.0
s = 3.0
infi = z'7f800000'
maxi = z'7f7fffff'
- mini = 1
+ min = tiny(1.0)
call test_up(max, inf)
call test_up(-inf, -max)