Fix no_trampolines test in check_effective_target_trampolines
authorTom de Vries <tom@codesourcery.com>
Thu, 8 Jun 2017 17:15:56 +0000 (17:15 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Thu, 8 Jun 2017 17:15:56 +0000 (17:15 +0000)
2017-06-08  Tom de Vries  <tom@codesourcery.com>

* lib/target-supports.exp (check_effective_target_trampolines): Test for
'gcc,no_trampolines' instead of 'no_trampolines'.

From-SVN: r249026

gcc/testsuite/ChangeLog
gcc/testsuite/lib/target-supports.exp

index 0cefe33825cef0c7794957bc5eadfea9ac3c3733..7a91ef4427eebc8aa973ae53d38f6b2bee56ae70 100644 (file)
@@ -1,3 +1,8 @@
+2017-06-08  Tom de Vries  <tom@codesourcery.com>
+
+       * lib/target-supports.exp (check_effective_target_trampolines): Test for
+       'gcc,no_trampolines' instead of 'no_trampolines'.
+
 2017-06-08  Alexander Ivchenko  <alexander.ivchenko@intel.com>
 
        PR middle-end/79988
index 8b99f35513330d40e455326d9feaf7541987c932..d0b35beb7a20e991dfb1fe8ad6d535ee5ec91ddb 100644 (file)
@@ -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-*-*]