Commit cb4df8ef by Martin Sebor Committed by Martin Sebor

re PR middle-end/82063 (issues with arguments enabled by -Wall)

PR middle-end/82063

gcc/testsuite/ChangeLog:

	* gcc/testsuite/c-c++-common/pr68833-1.c: Adjust.

From-SVN: r262911
parent 00abf86c
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
* gcc/testsuite/c-c++-common/pr68657-1.c: Adjust. * gcc/testsuite/c-c++-common/pr68657-1.c: Adjust.
* gcc/testsuite/c-c++-common/pr68657-2.c: Same. * gcc/testsuite/c-c++-common/pr68657-2.c: Same.
* gcc/testsuite/c-c++-common/pr68657-3.c: Same. * gcc/testsuite/c-c++-common/pr68657-3.c: Same.
* gcc/testsuite/c-c++-common/pr68833-1.c: Same.
* gcc.dg/Walloc-size-larger-than-16.c: Same. * gcc.dg/Walloc-size-larger-than-16.c: Same.
* gcc.dg/Walloca-larger-than.c: New test. * gcc.dg/Walloca-larger-than.c: New test.
* gcc.dg/Walloca-larger-than-2.c: New test. * gcc.dg/Walloca-larger-than-2.c: New test.
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
/* { dg-options "-Werror=larger-than-65536 -Werror=format -Werror=missing-noreturn" } */ /* { dg-options "-Werror=larger-than-65536 -Werror=format -Werror=missing-noreturn" } */
/* { dg-require-effective-target int32plus } */ /* { dg-require-effective-target int32plus } */
int a[131072]; /* { dg-error "size of 'a' is \[1-9]\[0-9]* bytes" } */ int a[131072]; /* { dg-error "size of .a. 524288 bytes exceeds maximum object size 65536" } */
int b[1024]; /* { dg-bogus "size of 'b' is \[1-9]\[0-9]* bytes" } */ int b[1024]; /* { dg-bogus "size" } */
void void
f1 (const char *fmt) f1 (const char *fmt)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment