gcc.dg/c23-stdarg-9.c failed because the code requested too
much stack memory.  With less stack allocated, this test passes.
Applied as obvious.

Johann

--

    AVR: Make gcc.dg/c23-stdarg-9.c work.

    gcc/testsuite/
            * gcc.dg/c23-stdarg-9.c (struct S) [AVR]: Only use int a[500].

diff --git a/gcc/testsuite/gcc.dg/c23-stdarg-9.c b/gcc/testsuite/gcc.dg/c23-stdarg-9.c
index e2839e7e2cd..068fe3d4c7a 100644
--- a/gcc/testsuite/gcc.dg/c23-stdarg-9.c
+++ b/gcc/testsuite/gcc.dg/c23-stdarg-9.c
@@ -5,7 +5,12 @@

 #include <stdarg.h>

+#ifdef __AVR__
+/* AVR doesn't have that much stack... */
+struct S { int a[500]; };
+#else
 struct S { int a[1024]; };
+#endif

 int
 f1 (...)

Reply via email to