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:
Jerry DeLisle 2008-03-15 03:20:57 +00:00
parent 66e58b3338
commit b2018c3367
2 changed files with 11 additions and 0 deletions

View File

@ -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

View 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