[PATCH] ld-plugin/lto.exp: Disable tests with gcc older than 4.7.0.
Will Newton
will.newton@linaro.org
Mon Apr 22 12:32:00 GMT 2013
The test for ld/12942 fails with gcc versions before 4.7.0. This patch
disables running the LTO tests with these versions of gcc. Disabling
the test in a more fine-grained way would be a bit more complex and it
appears that binutils developers are all using newer gccs anyway.
ld/testsuite/ChangeLog:
2013-04-22 Will Newton <will.newton@linaro.org>
* ld-plugin/lto.exp: Disable tests with gcc older than 4.7.0.
---
ld/testsuite/ld-plugin/lto.exp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/ld/testsuite/ld-plugin/lto.exp b/ld/testsuite/ld-plugin/lto.exp
index 09474a6..b8e6d68 100644
--- a/ld/testsuite/ld-plugin/lto.exp
+++ b/ld/testsuite/ld-plugin/lto.exp
@@ -21,7 +21,8 @@
# These tests require plugin and LTO.
if { ![check_plugin_api_available]
- || ![check_lto_available] } {
+ || ![check_lto_available]
+ || ![at_least_gcc_version 4 7] } {
return
}
--
1.8.1.4
More information about the Binutils
mailing list