From dd586f9814de2a14a90ef915f91f74144757e256 Mon Sep 17 00:00:00 2001 From: Georg-Johann Lay Date: Mon, 21 Nov 2016 15:38:02 +0000 Subject: [PATCH] target-supports.exp (check_effective_target_tiny): Return 1 for AVR_TINY. gcc/testsuite/ * lib/target-supports.exp (check_effective_target_tiny) [avr]: Return 1 for AVR_TINY. From-SVN: r242666 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/lib/target-supports.exp | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 3f827378697..a6a5c168526 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2016-11-21 Georg-Johann Lay + + * lib/target-supports.exp (check_effective_target_tiny) [avr]: + Return 1 for AVR_TINY. + 2016-11-21 Segher Boessenkool PR rtl-optimization/71785 diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 8a2abd2c4cc..201bbf393d0 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -7864,7 +7864,7 @@ proc check_effective_target_fenv_exceptions {} { proc check_effective_target_tiny {} { global et_target_tiny_saved - if [info exists et_target_tine_saved] { + if [info exists et_target_tiny_saved] { verbose "check_effective_target_tiny: using cached result" 2 } else { set et_target_tiny_saved 0 @@ -7872,6 +7872,10 @@ proc check_effective_target_tiny {} { && [check_effective_target_aarch64_tiny] } { set et_target_tiny_saved 1 } + if { [istarget avr-*-*] + && [check_effective_target_avr_tiny] } { + set et_target_tiny_saved 1 + } } return $et_target_tiny_saved -- 2.30.2