Skip tail call tests on Thumb-1 targets
authorThomas Preud'homme <thomas.preudhomme@arm.com>
Thu, 26 May 2016 10:04:20 +0000 (10:04 +0000)
committerThomas Preud'homme <thopre01@gcc.gnu.org>
Thu, 26 May 2016 10:04:20 +0000 (10:04 +0000)
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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/plugin/plugin.exp

index 99beec49569166d057620ac2beb83ba5db79b017..83c4e06dec28a2297150d517ce55417ea288c265 100644 (file)
@@ -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
index 62f6797c8139975c102dd8cee9336e6ea2fd8236..321b4baafe0c2bedecfbefe3e302daa97b0f3bd3 100644 (file)
@@ -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
 }