This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[LTO][PATCH] Small fix for testsuite lib/lto.exp
- From: simonb at google dot com (Simon Baldwin)
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 17 Jan 2009 11:01:28 +0000 (GMT)
- Subject: [LTO][PATCH] Small fix for testsuite lib/lto.exp
LTO testsuite patch placing OPTFILE options after OPTALL, to allow the former
to override the latter. Committing following off-list OK from Diego.
2009-01-17 Simon Baldwin <simonb@google.com>
* lib/lto.exp (lto-obj): Let OPTFILE options override OPTALL.
(lto-link-and-maybe-run): Ditto.
Index: gcc/testsuite/lib/lto.exp
===================================================================
--- gcc/testsuite/lib/lto.exp (revision 143457)
+++ gcc/testsuite/lib/lto.exp (working copy)
@@ -85,7 +85,7 @@ proc lto-obj { source dest optall optfil
# Set up the options for compiling this file.
set options ""
- lappend options "additional_flags=$optfile $optall"
+ lappend options "additional_flags=$optall $optfile"
set compiler_conditional_xfail_data $xfaildata
set comp_output [${tool}_target_compile "$source" "$dest" object $options]
@@ -117,7 +117,7 @@ proc lto-link-and-maybe-run { testname o
# Set up the options for linking this test.
set options ""
- lappend options "additional_flags=$optfile $optall"
+ lappend options "additional_flags=$optall $optfile"
# Link the objects into an executable.
set comp_output [${tool}_target_compile "$objlist" $dest executable \