aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2016-06-08 14:29:25 +0200
committerYvan Roux <yvan.roux@linaro.org>2016-06-14 14:48:26 +0200
commit3c1435f53d4ccc8cac63ff0c87b49a90a4c8b104 (patch)
treeadf378e7ca596cd4c6e91801402c114ba74951c7
parentf4b8bc54f04bbd20c91a2621a90b9b7e6999538a (diff)
gcc/testsuite/
Backport from trunk r236769. 2016-05-26 Thomas Preud'homme <thomas.preudhomme@arm.com> * gcc.dg/plugin/plugin.exp: skip tail call tests for Thumb-1. Change-Id: I14c235751e0956cb7ffba2a4d91b1887296e9f66
-rw-r--r--gcc/testsuite/gcc.dg/plugin/plugin.exp6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/plugin/plugin.exp b/gcc/testsuite/gcc.dg/plugin/plugin.exp
index fd1e98e53c4..0547a8d7ca3 100644
--- a/gcc/testsuite/gcc.dg/plugin/plugin.exp
+++ b/gcc/testsuite/gcc.dg/plugin/plugin.exp
@@ -87,6 +87,12 @@ foreach plugin_test $plugin_test_list {
if ![runtest_file_p $runtests $plugin_src] then {
continue
}
+ # Skip tail call tests on targets that do not have sibcall_epilogue.
+ if {[regexp ".*must_tail_call_plugin.c" $plugin_src]
+ && [istarget arm*-*-*]
+ && [check_effective_target_arm_thumb1]} then {
+ continue
+ }
set plugin_input_tests [lreplace $plugin_test 0 0]
plugin-test-execute $plugin_src $plugin_input_tests
}