From b9835925b1557cca85e9ae78dce28473ccc7100e Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Thu, 8 Jun 2017 17:15:56 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/lib/target-supports.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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-*-*] -- 2.30.2