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
This commit is contained in:
Andreas Schwab 2018-11-02 08:22:59 +00:00 committed by Andreas Schwab
parent ea7e39004f
commit db281b40e4
3 changed files with 7 additions and 2 deletions

View file

@ -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

View file

@ -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];

View file

@ -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)