mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-25 19:15:59 +08:00
re PR fortran/33296 (nearest(huge(1.0),1.0) gives an error)
2008-03-14 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR testsuite/33296 gfortran.dg/nearest_4.f90: New test. From-SVN: r133236
This commit is contained in:
parent
66e58b3338
commit
b2018c3367
@ -1,3 +1,8 @@
|
||||
2008-03-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||||
|
||||
PR testsuite/33296
|
||||
gfortran.dg/nearest_4.f90: New test.
|
||||
|
||||
2008-03-14 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/13761
|
||||
|
6
gcc/testsuite/gfortran.dg/nearest_4.f90
Normal file
6
gcc/testsuite/gfortran.dg/nearest_4.f90
Normal file
@ -0,0 +1,6 @@
|
||||
! { dg-do compile }
|
||||
! PR33296 nearest(huge(1.0),1.0) gives an error
|
||||
real x
|
||||
x = nearest(-huge(1.0),-1.0)
|
||||
print *, x
|
||||
end
|
Loading…
Reference in New Issue
Block a user