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-Tag: upstream/12.2.0~43131 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dd586f9814de2a14a90ef915f91f74144757e256;p=platform%2Fupstream%2Fgcc.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 3f82737..a6a5c16 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 8a2abd2..201bbf3 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