These tests are too big for AVR: .text (128 KiB) overflows and ld
complains.

Ok to commit?

Johann

        * gcc.dg/compat/struct-by-value-16_main.c: Skip AVR.
        * gcc.dg/compat/struct-by-value-17_main.c: Skip AVR.
        * gcc.dg/compat/struct-by-value-18_main.c: Skip AVR.
        * g++.dg/torture/pr31863.C: Skip AVR.
Index: gcc.dg/compat/struct-by-value-18_main.c
===================================================================
--- gcc.dg/compat/struct-by-value-18_main.c	(revision 175991)
+++ gcc.dg/compat/struct-by-value-18_main.c	(working copy)
@@ -1,6 +1,7 @@
 /* Test structures passed by value, including to a function with a
    variable-length argument lists.  All struct members are of type
    _Complex long double.  */
+/* { dg-skip-if "Program too big" { "avr-*-*" } { "*" } { "" } } */
 
 extern void struct_by_value_18_x (void);
 extern void exit (int);
Index: gcc.dg/compat/struct-by-value-17_main.c
===================================================================
--- gcc.dg/compat/struct-by-value-17_main.c	(revision 175991)
+++ gcc.dg/compat/struct-by-value-17_main.c	(working copy)
@@ -1,6 +1,7 @@
 /* Test structures passed by value, including to a function with a
    variable-length argument lists.  All struct members are of type
    _Complex double.  */
+/* { dg-skip-if "Program too big" { "avr-*-*" } { "*" } { "" } } */
 
 extern void struct_by_value_17_x (void);
 extern void exit (int);
Index: gcc.dg/compat/struct-by-value-16_main.c
===================================================================
--- gcc.dg/compat/struct-by-value-16_main.c	(revision 175991)
+++ gcc.dg/compat/struct-by-value-16_main.c	(working copy)
@@ -1,6 +1,7 @@
 /* Test structures passed by value, including to a function with a
    variable-length argument lists.  All struct members are of type
    _Complex float.  */
+/* { dg-skip-if "Program too big" { "avr-*-*" } { "*" } { "" } } */
 
 extern void struct_by_value_16_x (void);
 extern void exit (int);
Index: g++.dg/torture/pr31863.C
===================================================================
--- g++.dg/torture/pr31863.C	(revision 175991)
+++ g++.dg/torture/pr31863.C	(working copy)
@@ -1,5 +1,6 @@
 /* { dg-do link } */
 /* { dg-timeout-factor 2.0 } */
+/* { dg-skip-if "Program too big" { "avr-*-*" } { "*" } { "" } } */
 
 namespace Loki
 {

Reply via email to