https://gcc.gnu.org/g:8d63d87c6d45bf8feecdaf54b1743c94938ce7ff
commit r15-4042-g8d63d87c6d45bf8feecdaf54b1743c94938ce7ff Author: Georg-Johann Lay <a...@gjlay.de> Date: Thu Oct 3 15:19:21 2024 +0200 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: --- gcc/testsuite/gcc.dg/c23-stdarg-9.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gcc/testsuite/gcc.dg/c23-stdarg-9.c b/gcc/testsuite/gcc.dg/c23-stdarg-9.c index e2839e7e2cd0..068fe3d4c7a5 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 (...)