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
This commit is contained in:
H.J. Lu 2018-12-30 17:36:05 +00:00 committed by H.J. Lu
parent d5ae7d04ab
commit 87972ceb8f
2 changed files with 10 additions and 1 deletions

View 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.

View 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