diff options
author | Iain Sandoe <iains@gcc.gnu.org> | 2010-06-02 07:29:54 +0000 |
---|---|---|
committer | Iain Sandoe <iains@gcc.gnu.org> | 2010-06-02 07:29:54 +0000 |
commit | 0a6346849508945d2f672e4dc29a94e1136b8cfd (patch) | |
tree | 9ce4771cf80b4eaeada55949788ede0313751946 /gcc | |
parent | aac18c0250f9a03f725be1f2ee32d87a2d743f09 (diff) | |
download | gcc-0a6346849508945d2f672e4dc29a94e1136b8cfd.zip gcc-0a6346849508945d2f672e4dc29a94e1136b8cfd.tar.gz gcc-0a6346849508945d2f672e4dc29a94e1136b8cfd.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/lib/lto.exp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c15d708..555e184 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 22b7b46..7b51fdd 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 |