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.


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

Reply via email to