diff mbox

[testsuite,avr,committed] Treat reduced avr tiny devices as "tiny".

Message ID f24f277c-85f4-0c4a-0ea0-b0820b1d1ce2@gjlay.de
State New
Headers show

Commit Message

Georg-Johann Lay Nov. 21, 2016, 3:44 p.m. UTC
Committed this change in order to reduce the FAILs for AVR_TINY from 
~3000 to ~2000.  Rationale is to turn FAILs because of "relocation 
truncated to fit" to UNSUPPORTED.

Johann


gcc/testsuite/
	* lib/target-supports.exp (check_effective_target_tiny) [avr]:
	Return 1 for AVR_TINY.
diff mbox

Patch

Index: lib/target-supports.exp
===================================================================
--- lib/target-supports.exp     (revision 242665)
+++ lib/target-supports.exp     (working copy)
@@ -7864,7 +7864,7 @@  proc check_effective_target_fenv_excepti
  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