From: Georg-Johann Lay Date: Thu, 3 Oct 2024 13:19:21 +0000 (+0200) Subject: AVR: Make gcc.dg/c23-stdarg-9.c work. X-Git-Tag: basepoints/gcc-16~5511 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8d63d87c6d45bf8feecdaf54b1743c94938ce7ff;p=thirdparty%2Fgcc.git 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 +#ifdef __AVR__ +/* AVR doesn't have that much stack... */ +struct S { int a[500]; }; +#else struct S { int a[1024]; }; +#endif int f1 (...)