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
This commit is contained in:
Georg-Johann Lay 2016-11-21 15:38:02 +00:00 committed by Georg-Johann Lay
parent e51482c9c8
commit dd586f9814
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2016-11-21 Georg-Johann Lay <avr@gjlay.de>
* lib/target-supports.exp (check_effective_target_tiny) [avr]:
Return 1 for AVR_TINY.
2016-11-21 Segher Boessenkool <segher@kernel.crashing.org>
PR rtl-optimization/71785

View File

@ -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