aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormsebor <msebor@138bc75d-0d04-0410-961f-82ee72b054a4>2018-07-20 21:18:31 +0000
committermsebor <msebor@138bc75d-0d04-0410-961f-82ee72b054a4>2018-07-20 21:18:31 +0000
commit619837aadbd94cdf7cc73ec32af6395044a7735c (patch)
tree32aaededf25d74db9603e02749f0fb1334536bd5
parent8e18705e1fb8213834b09c91c3ed7b15c8540d59 (diff)
PR middle-end/82063
gcc/testsuite/ChangeLog: * gcc/testsuite/c-c++-common/pr68833-1.c: Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262911 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/testsuite/ChangeLog1
-rw-r--r--gcc/testsuite/c-c++-common/pr68833-1.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index dc2ce278f7f..ecf7b054b01 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -4,6 +4,7 @@
* gcc/testsuite/c-c++-common/pr68657-1.c: Adjust.
* gcc/testsuite/c-c++-common/pr68657-2.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/Walloca-larger-than.c: New test.
* gcc.dg/Walloca-larger-than-2.c: New test.
diff --git a/gcc/testsuite/c-c++-common/pr68833-1.c b/gcc/testsuite/c-c++-common/pr68833-1.c
index c88f67e00d7..a6aefad5c98 100644
--- a/gcc/testsuite/c-c++-common/pr68833-1.c
+++ b/gcc/testsuite/c-c++-common/pr68833-1.c
@@ -3,8 +3,8 @@
/* { dg-options "-Werror=larger-than-65536 -Werror=format -Werror=missing-noreturn" } */
/* { dg-require-effective-target int32plus } */
-int a[131072]; /* { dg-error "size of 'a' is \[1-9]\[0-9]* bytes" } */
-int b[1024]; /* { dg-bogus "size of 'b' 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" } */
void
f1 (const char *fmt)