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
This commit is contained in:
Thomas Preud'homme 2016-05-26 10:04:20 +00:00 committed by Thomas Preud'homme
parent 6ce1307231
commit ffa8b55232
2 changed files with 10 additions and 0 deletions

View 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> 2016-05-26 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/71280 PR tree-optimization/71280

View File

@ -90,6 +90,12 @@ foreach plugin_test $plugin_test_list {
if ![runtest_file_p $runtests $plugin_src] then { if ![runtest_file_p $runtests $plugin_src] then {
continue 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] set plugin_input_tests [lreplace $plugin_test 0 0]
plugin-test-execute $plugin_src $plugin_input_tests plugin-test-execute $plugin_src $plugin_input_tests
} }