]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
pragma-align.c (sixteen): Use 8-byte alignment on LP64 targets.
authorEric Botcazou <ebotcazou@libertysurf.fr>
Thu, 4 Nov 2004 22:07:17 +0000 (23:07 +0100)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 4 Nov 2004 22:07:17 +0000 (22:07 +0000)
* gcc.dg/pragma-align.c (sixteen): Use 8-byte alignment
on LP64 targets.

From-SVN: r90082

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pragma-align.c

index a499d04901a2d04c93c36006c563393284575e81..4e27d5110d6e861d2fcd917617bb72e138dbd30a 100644 (file)
@@ -1,3 +1,8 @@
+2004-11-04  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       * gcc.dg/pragma-align.c (sixteen): Use 8-byte alignment
+       on LP64 targets.
+
 2004-11-04  Joseph S. Myers  <joseph@codesourcery.com>
 
        * gcc.dg/asm-qual-1.c, gcc.dg/declspec-15.c, gcc.dg/declspec-16.c,
index 738693270349ad3b01c95933cc8ac22984721bd6..00f40091974d7954e79df45da163e874bdb6094c 100644 (file)
@@ -9,7 +9,11 @@ struct {
         long two;
 } defaultalign;
 
+#if defined(__LP64__)
+#pragma pack(8)
+#else
 #pragma pack(4)
+#endif
 struct {
         char one;
         long two;