]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
20010904-2.c: Fix last change.
authorAndreas Schwab <schwab@linux-m68k.org>
Fri, 2 Nov 2018 08:22:59 +0000 (08:22 +0000)
committerAndreas Schwab <schwab@gcc.gnu.org>
Fri, 2 Nov 2018 08:22:59 +0000 (08:22 +0000)
* gcc.c-torture/execute/20010904-2.c: Fix last change.
* gcc.dg/Wattributes-10.c: Likewise.

From-SVN: r265741

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20010904-2.c
gcc/testsuite/gcc.dg/Wattributes-10.c

index e3f4e8ef4e365f4951f501b7a05e0bfab5233507..0824f9ab72bf98e5998be5329b947a7af3a8fc93 100644 (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
index 7f3affe10fe13352161a698fde5fb1aba9cfd9a1..a0f2626e766b51645776ca6a51225ca2623f5173 100644 (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];
index 37fd2c1b7552dd94aadc84d28aa1b4b7cf0c86ba..4dccaf30757117514867af2873a2b5eb7c920f18 100644 (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)