From: H.J. Lu Date: Sun, 30 Dec 2018 17:36:05 +0000 (+0000) Subject: Use dg-additional-options instead of dg-options X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=87972ceb8f9d935a78e928387540258bc3e09698;p=gcc.git Use dg-additional-options instead of dg-options 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 3384478e347..57b9457e2d9 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2018-12-30 H.J. Lu + + PR testsuite/88639 + * gfortran.dg/ieee/ieee_10.f90: Use dg-additional-options + instead of dg-options. + 2018-12-29 Dominique d'Humieres * g++.dg/abi/key2.C: Silence the [-Wreturn-type] warning. diff --git a/gcc/testsuite/gfortran.dg/ieee/ieee_10.f90 b/gcc/testsuite/gfortran.dg/ieee/ieee_10.f90 index 9eb4620f0f9..c3ffffcb24d 100644 --- a/gcc/testsuite/gfortran.dg/ieee/ieee_10.f90 +++ b/gcc/testsuite/gfortran.dg/ieee/ieee_10.f90 @@ -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