From db281b40e41c622c548adbaeff72d9d2316fe006 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Fri, 2 Nov 2018 08:22:59 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.c-torture/execute/20010904-2.c | 2 +- gcc/testsuite/gcc.dg/Wattributes-10.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e3f4e8ef4e3..0824f9ab72b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2018-11-02 Andreas Schwab + + * gcc.c-torture/execute/20010904-2.c: Fix last change. + * gcc.dg/Wattributes-10.c: Likewise. + 2018-11-02 Richard Biener 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 7f3affe10fe..a0f2626e766 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 37fd2c1b755..4dccaf30757 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.30.2