re PR fortran/64022 ([F2003][IEEE] ieee_support_flag does not handle kind=10 and...
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Thu, 6 Aug 2015 08:38:59 +0000 (08:38 +0000)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Thu, 6 Aug 2015 08:38:59 +0000 (08:38 +0000)
PR fortran/64022
* gfortran.dg/ieee/large_1.f90: Adjust test.

From-SVN: r226665

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

index 205975df36a6d1a7a930a251a8e59f27cc903461..1d7e6a6edfc435d4da07dc05fff78e71fa9a80ba 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 5ec2dab2d05f0439e90f7b75b43a6a66783c0189..92cdba67bf045d75c512852620ad1388f578b586 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