From: Tom de Vries Date: Thu, 8 Jun 2017 17:15:56 +0000 (+0000) Subject: Fix no_trampolines test in check_effective_target_trampolines X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b9835925b1557cca85e9ae78dce28473ccc7100e;p=gcc.git Fix no_trampolines test in check_effective_target_trampolines 2017-06-08 Tom de Vries * lib/target-supports.exp (check_effective_target_trampolines): Test for 'gcc,no_trampolines' instead of 'no_trampolines'. From-SVN: r249026 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0cefe33825c..7a91ef4427e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-06-08 Tom de Vries + + * lib/target-supports.exp (check_effective_target_trampolines): Test for + 'gcc,no_trampolines' instead of 'no_trampolines'. + 2017-06-08 Alexander Ivchenko PR middle-end/79988 diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 8b99f355133..d0b35beb7a2 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -491,7 +491,7 @@ proc check_gc_sections_available { } { # target is supposed to support trampolines. proc check_effective_target_trampolines { } { - if [target_info exists no_trampolines] { + if [target_info exists gcc,no_trampolines] { return 0 } if { [istarget avr-*-*]