]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* lib/lto.exp (lto-link-and-maybe-run): Show the options in
authoriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 Jun 2010 07:29:54 +0000 (07:29 +0000)
committeriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 Jun 2010 07:29:54 +0000 (07:29 +0000)
the link fail message.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160141 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/lib/lto.exp

index c15d70839c538a56e8982ff0c520456c048cd4d6..555e184660d9e63af569e98307ef9f33fb6e6f45 100644 (file)
@@ -1,3 +1,8 @@
+2010-06-02  Iain Sandoe  <iains@gcc.gnu.org>
+
+       * lib/lto.exp (lto-link-and-maybe-run): Show the options in
+       the link fail message.
+
 2010-06-02  Tobias Burnus  <burnus@net-b.de>
 
        PR fortran/44360
index 22b7b46bc036a2c4627976cb4ecda51e6a524188..7b51fdd2f6f471ecf7655debcab389f804cae80c 100644 (file)
@@ -177,7 +177,7 @@ proc lto-link-and-maybe-run { testname objlist dest optall optfile optstr } {
     # Prune unimportant visibility warnings before checking output.
     set comp_output [lto_prune_warns $comp_output]
 
-    if ![${tool}_check_compile "$testcase $testname link" "" \
+    if ![${tool}_check_compile "$testcase $testname link" $optstr \
         $dest $comp_output] then {
        unresolved "$testcase $testname execute $optstr"
        return