aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorThomas Preud'homme <thomas.preudhomme@arm.com>2016-05-26 10:04:20 +0000
committerThomas Preud'homme <thopre01@gcc.gnu.org>2016-05-26 10:04:20 +0000
commitffa8b5523261b1374a62b5d28560e0de8a4c5e75 (patch)
treef940054fa27eb34524239b153b771abbd101a9ea /gcc
parent6ce13072311aaa5194488797f127c2b202d72b25 (diff)
downloadgcc-ffa8b5523261b1374a62b5d28560e0de8a4c5e75.zip
gcc-ffa8b5523261b1374a62b5d28560e0de8a4c5e75.tar.gz
gcc-ffa8b5523261b1374a62b5d28560e0de8a4c5e75.tar.bz2
Skip tail call tests on Thumb-1 targets
2016-05-26 Thomas Preud'homme <thomas.preudhomme@arm.com> gcc/testsuite/ * gcc.dg/plugin/plugin.exp: skip tail call tests for Thumb-1. From-SVN: r236769
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/plugin/plugin.exp6
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 99beec4..83c4e06 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2016-05-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
+
+ * gcc.dg/plugin/plugin.exp: skip tail call tests for Thumb-1.
+
2016-05-26 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/71280
diff --git a/gcc/testsuite/gcc.dg/plugin/plugin.exp b/gcc/testsuite/gcc.dg/plugin/plugin.exp
index 62f6797..321b4ba 100644
--- a/gcc/testsuite/gcc.dg/plugin/plugin.exp
+++ b/gcc/testsuite/gcc.dg/plugin/plugin.exp
@@ -90,6 +90,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
}