Commit db281b40 by Andreas Schwab Committed by Andreas Schwab

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
parent ea7e3900
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
......
......@@ -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];
......
......@@ -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)
......
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