Commit fd21fbd7 by Dominik Vogt Committed by Ulrich Weigand

gcc-dg.exp: Add extra options for db-final to the command line only once.

2015-08-21  Dominik Vogt  <vogt@linux.vnet.ibm.com>

	* lib/gcc-dg.exp: Add extra options for db-final to the command line
	only once.

From-SVN: r227057
parent 52c6378a
2015-08-21 Dominik Vogt <vogt@linux.vnet.ibm.com>
* lib/gcc-dg.exp: Add extra options for db-final to the command line
only once.
2015-08-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com> 2015-08-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
* gcc.target/powerpc/altivec-35.c (foo): Add tests for vec_madd. * gcc.target/powerpc/altivec-35.c (foo): Add tests for vec_madd.
......
...@@ -270,7 +270,7 @@ proc gcc-dg-test-1 { target_compile prog do_what extra_tool_flags } { ...@@ -270,7 +270,7 @@ proc gcc-dg-test-1 { target_compile prog do_what extra_tool_flags } {
set finalcmd [lindex $x 0] set finalcmd [lindex $x 0]
if { [info procs ${finalcmd}_required_options] != "" } { if { [info procs ${finalcmd}_required_options] != "" } {
set req [${finalcmd}_required_options] set req [${finalcmd}_required_options]
if { $req != "" } { if { $req != "" && [lsearch -exact $extra_tool_flags $req] == -1 } {
lappend extra_tool_flags $req lappend extra_tool_flags $req
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment