diff options
author | Georg-Johann Lay <avr@gjlay.de> | 2024-10-03 15:19:21 +0200 |
---|---|---|
committer | Georg-Johann Lay <avr@gjlay.de> | 2024-10-03 15:22:47 +0200 |
commit | 8d63d87c6d45bf8feecdaf54b1743c94938ce7ff (patch) | |
tree | 6b45c1ade530066dc456eb0137d38096a585227f | |
parent | 0d9d6872089b212c0bf3768a32de9bfbde9e5a17 (diff) | |
download | gcc-8d63d87c6d45bf8feecdaf54b1743c94938ce7ff.zip gcc-8d63d87c6d45bf8feecdaf54b1743c94938ce7ff.tar.gz gcc-8d63d87c6d45bf8feecdaf54b1743c94938ce7ff.tar.bz2 |
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].
-rw-r--r-- | gcc/testsuite/gcc.dg/c23-stdarg-9.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/c23-stdarg-9.c b/gcc/testsuite/gcc.dg/c23-stdarg-9.c index e2839e7..068fe3d 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 (...) |