Skip to content

Commit

Permalink
Use dg-additional-options instead of dg-options
Browse files Browse the repository at this point in the history
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.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@267478 138bc75d-0d04-0410-961f-82ee72b054a4
  • Loading branch information
hjl committed Dec 30, 2018
1 parent 1e89324 commit f06e155
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 6 additions & 0 deletions gcc/testsuite/ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
5 changes: 4 additions & 1 deletion gcc/testsuite/gfortran.dg/ieee/ieee_10.f90
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit f06e155

Please sign in to comment.