From 0a6346849508945d2f672e4dc29a94e1136b8cfd Mon Sep 17 00:00:00 2001 From: Iain Sandoe <iains@gcc.gnu.org> Date: Wed, 2 Jun 2010 07:29:54 +0000 Subject: [PATCH] lto.exp (lto-link-and-maybe-run): Show the options in the link fail message. * lib/lto.exp (lto-link-and-maybe-run): Show the options in the link fail message. From-SVN: r160141 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/lib/lto.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 <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 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 -- GitLab