aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2018-11-02 08:22:59 +0000
committerAndreas Schwab <schwab@gcc.gnu.org>2018-11-02 08:22:59 +0000
commitdb281b40e41c622c548adbaeff72d9d2316fe006 (patch)
tree9ad55687bd2a8c7c251ae8d91fe6ff2ad9f23ed6
parentea7e39004f444a9f019631b2c5de4d56ffc9c71b (diff)
downloadgcc-db281b40e41c622c548adbaeff72d9d2316fe006.zip
gcc-db281b40e41c622c548adbaeff72d9d2316fe006.tar.gz
gcc-db281b40e41c622c548adbaeff72d9d2316fe006.tar.bz2
20010904-2.c: Fix last change.
* gcc.c-torture/execute/20010904-2.c: Fix last change. * gcc.dg/Wattributes-10.c: Likewise. From-SVN: r265741
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/20010904-2.c2
-rw-r--r--gcc/testsuite/gcc.dg/Wattributes-10.c2
3 files changed, 7 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index e3f4e8e..0824f9a 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2018-11-02 Andreas Schwab <schwab@linux-m68k.org>
+
+ * gcc.c-torture/execute/20010904-2.c: Fix last change.
+ * gcc.dg/Wattributes-10.c: Likewise.
+
2018-11-02 Richard Biener <rguenther@suse.de>
PR tree-optimization/87776
diff --git a/gcc/testsuite/gcc.c-torture/execute/20010904-2.c b/gcc/testsuite/gcc.c-torture/execute/20010904-2.c
index 7f3affe..a0f2626 100644
--- a/gcc/testsuite/gcc.c-torture/execute/20010904-2.c
+++ b/gcc/testsuite/gcc.c-torture/execute/20010904-2.c
@@ -6,7 +6,7 @@
#define alignment 32
#endif
-typedef struct x { int a; int b; } __attribute__((aligned(aligned))) X;
+typedef struct x { int a; int b; } __attribute__((aligned(alignment))) X;
typedef struct y { X x; X y[31]; int c; } Y;
Y y[2];
diff --git a/gcc/testsuite/gcc.dg/Wattributes-10.c b/gcc/testsuite/gcc.dg/Wattributes-10.c
index 37fd2c1..4dccaf3 100644
--- a/gcc/testsuite/gcc.dg/Wattributes-10.c
+++ b/gcc/testsuite/gcc.dg/Wattributes-10.c
@@ -12,7 +12,7 @@ struct S
int* __attribute__ ((aligned (16), packed)) qaligned; /* { dg-warning "ignoring attribute .packed. because it conflicts with attribute .aligned." } */
int* __attribute__ ((packed, aligned (16))) qpacked; /* { dg-warning ".packed. attribute ignored for type .int \\\*." } */
-} s; /* { dg-error "alignment of 's' is greater" { target pdp11*-*-* } } */
+} s; /* { dg-error "alignment of 's' is greater" "" { target pdp11*-*-* } } */
void test (void)