From: Georg-Johann Lay Date: Mon, 21 Nov 2016 15:38:02 +0000 (+0000) Subject: target-supports.exp (check_effective_target_tiny): Return 1 for AVR_TINY. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dd586f9814de2a14a90ef915f91f74144757e256;p=gcc.git 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 --- 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