diff options
author | Martin Sebor <msebor@redhat.com> | 2018-11-09 23:15:59 +0000 |
---|---|---|
committer | Martin Sebor <msebor@gcc.gnu.org> | 2018-11-09 16:15:59 -0700 |
commit | 397fd63d80db207843777b3d5a7099f838ba2894 (patch) | |
tree | dc23e43f4f8861c57f30e5e43992d47a9eb33e06 /gcc/testsuite | |
parent | 1dbff00c02e63c5ced13bd5c5e7e1b9431c2ff15 (diff) | |
download | gcc-397fd63d80db207843777b3d5a7099f838ba2894.zip gcc-397fd63d80db207843777b3d5a7099f838ba2894.tar.gz gcc-397fd63d80db207843777b3d5a7099f838ba2894.tar.bz2 |
re PR testsuite/87965 (Test cases c-c++-common/pr60226.c and gcc.dg/pr39323-1.c fail starting with r265977)
gcc/testsuite/ChangeLog:
PR testsuite/87965
* c-c++-common/pr60226.c: Adjust text of expected diagnostic.
* gcc.dg/pr39323-1.c: Ditto.
From-SVN: r265998
Diffstat (limited to 'gcc/testsuite')
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/c-c++-common/pr60226.c | 6 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/pr39323-1.c | 6 |
3 files changed, 12 insertions, 6 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1046dcb..562c4e2 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2018-11-09 Martin Sebor <msebor@redhat.com> + + PR testsuite/87965 + * c-c++-common/pr60226.c: Adjust text of expected diagnostic. + * gcc.dg/pr39323-1.c: Ditto. + 2018-11-09 Paul Koning <ni1d@arrl.net> * gcc.dg/Walloca-16.c: Ignore conflicting types for built-in diff --git a/gcc/testsuite/c-c++-common/pr60226.c b/gcc/testsuite/c-c++-common/pr60226.c index 42646e4..930829b 100644 --- a/gcc/testsuite/c-c++-common/pr60226.c +++ b/gcc/testsuite/c-c++-common/pr60226.c @@ -1,15 +1,15 @@ -/* PR c/60226 */ +/* PR c/60226 - ICE initializing array of elements with too large alignment */ /* { dg-do compile } */ /* { dg-options "-Wno-c++-compat" { target c } } */ /* { dg-require-effective-target int32plus } */ typedef int __attribute__ ((aligned (1 << 28))) int28; int28 foo[4] = {}; /* { dg-error "alignment of array elements is greater than element size|maximum object file alignment" } */ -typedef int __attribute__ ((aligned (1 << 29))) int29; /* { dg-error "requested alignment is too large|maximum object file alignment" } */ +typedef int __attribute__ ((aligned (1 << 29))) int29; /* { dg-error "requested alignment|maximum object file alignment" } */ void f (void) { struct { __attribute__((aligned (1 << 28))) double a; } x1; - struct { __attribute__((aligned (1 << 29))) double a; } x2; /* { dg-error "requested alignment is too large" } */ + struct { __attribute__((aligned (1 << 29))) double a; } x2; /* { dg-error "requested alignment" } */ } diff --git a/gcc/testsuite/gcc.dg/pr39323-1.c b/gcc/testsuite/gcc.dg/pr39323-1.c index 5e3baec..7a7fd63 100644 --- a/gcc/testsuite/gcc.dg/pr39323-1.c +++ b/gcc/testsuite/gcc.dg/pr39323-1.c @@ -1,5 +1,5 @@ -/* PR c/39323 */ +/* PR c/39323 - MAX_OFILE_ALIGNMENT in elfos.h is too big */ /* { dg-do compile { target *-*-linux* *-*-gnu* } } */ -int foo __attribute__ ((aligned(1 << 29))) = 20; /* { dg-error "requested alignment is too large" } */ -typedef int __attribute__ ((aligned(1 << 29))) int29; /* { dg-error "requested alignment is too large" } */ +int foo __attribute__ ((aligned(1 << 29))) = 20; /* { dg-error "requested alignment" } */ +typedef int __attribute__ ((aligned(1 << 29))) int29; /* { dg-error "requested alignment" } */ |