PR fortran/64022
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Aug 2015 08:38:59 +0000 (08:38 +0000)
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Aug 2015 08:38:59 +0000 (08:38 +0000)
* gfortran.dg/ieee/large_1.f90: Adjust test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226665 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/ieee/large_1.f90

index 205975d..1d7e6a6 100644 (file)
@@ -1,3 +1,8 @@
+2015-08-06  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+       PR fortran/64022
+       * gfortran.dg/ieee/large_1.f90: Adjust test.
+
 2015-08-05  Manuel López-Ibáñez  <manu@gcc.gnu.org>
            Jeff Law  <law@redhat.com>
 
index 5ec2dab..92cdba6 100644 (file)
@@ -16,6 +16,7 @@ program test
 
   real(kind=k1) :: x1, y1
   real(kind=k2) :: x2, y2
+  logical :: l
 
   ! Checking ieee_is_finite
 
@@ -52,7 +53,8 @@ program test
   if (.not. ieee_support_rounding(ieee_nearest, x1)) call abort
   if (.not. ieee_support_sqrt(x1)) call abort
   if (.not. ieee_support_standard(x1)) call abort
-  if (.not. ieee_support_underflow_control(x1)) call abort
+
+  l = ieee_support_underflow_control(x1)
 
   if (.not. ieee_support_datatype(x2)) call abort
   if (.not. ieee_support_denormal(x2)) call abort
@@ -63,7 +65,8 @@ program test
   if (.not. ieee_support_rounding(ieee_nearest, x2)) call abort
   if (.not. ieee_support_sqrt(x2)) call abort
   if (.not. ieee_support_standard(x2)) call abort
-  if (.not. ieee_support_underflow_control(x2)) call abort
+
+  l = ieee_support_underflow_control(x2)
 
   ! ieee_value and ieee_class