* gcc.c-torture/execute/20010904-2.c: Fix last change.
* gcc.dg/Wattributes-10.c: Likewise.
diff --git a/gcc/testsuite/gcc.c-torture/execute/20010904-2.c
b/gcc/testsuite/gcc.c-torture/execute/20010904-2.c
index 7f3affe10f..a0f2626e76 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 37fd2c1b75..4dccaf3075 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)
--
2.19.1
--
Andreas Schwab, [email protected]
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."