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 3384478e347c883a9d8b03c6db6fad160c472bbd..57b9457e2d9e5cb2cb6253e268840de5722d8630 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 9eb4620f0f951e2f3912c8e55e4d6305c81c277b..c3ffffcb24d43ac78414b6b91bc04bd94c089a15 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