From: iains Date: Wed, 2 Jun 2010 07:29:54 +0000 (+0000) Subject: * lib/lto.exp (lto-link-and-maybe-run): Show the options in X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3901b083cb575816d32fe179d624eae806fb954a;p=thirdparty%2Fgcc.git * lib/lto.exp (lto-link-and-maybe-run): Show the options in the link fail message. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160141 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c15d70839c53..555e184660d9 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2010-06-02 Iain Sandoe + + * lib/lto.exp (lto-link-and-maybe-run): Show the options in + the link fail message. + 2010-06-02 Tobias Burnus PR fortran/44360 diff --git a/gcc/testsuite/lib/lto.exp b/gcc/testsuite/lib/lto.exp index 22b7b46bc036..7b51fdd2f6f4 100644 --- a/gcc/testsuite/lib/lto.exp +++ b/gcc/testsuite/lib/lto.exp @@ -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