Use dg-additional-options instead of dg-options
authorH.J. Lu <hongjiu.lu@intel.com>
Sun, 30 Dec 2018 17:36:05 +0000 (17:36 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Sun, 30 Dec 2018 17:36:05 +0000 (09:36 -0800)
Use dg-additional-options rather than dg-options to avoid overwriting the
default IEEE options which are passed by ieee.exp and necessary.

PR testsuite/88639
* gfortran.dg/ieee/ieee_10.f90: Use dg-additional-options
instead of dg-options.

From-SVN: r267478

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

index 3384478..57b9457 100644 (file)
@@ -1,3 +1,9 @@
+2018-12-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR testsuite/88639
+       * gfortran.dg/ieee/ieee_10.f90: Use dg-additional-options
+       instead of dg-options.
+
 2018-12-29  Dominique d'Humieres  <dominiq@gcc.gnu.org>
 
        * g++.dg/abi/key2.C: Silence the [-Wreturn-type] warning.
index 9eb4620..c3ffffc 100644 (file)
@@ -1,5 +1,8 @@
 ! { dg-do run }
-! { dg-options "-ffpe-trap=overflow,invalid" }
+! { dg-additional-options "-ffpe-trap=overflow,invalid" }
+!
+! Use dg-additional-options rather than dg-options to avoid overwriting the
+! default IEEE options which are passed by ieee.exp and necessary.
 program foo
 
    use ieee_arithmetic