pragma-align.c (sixteen): Use 8-byte alignment on LP64 targets.

* gcc.dg/pragma-align.c (sixteen): Use 8-byte alignment
	on LP64 targets.

From-SVN: r90082
This commit is contained in:
Eric Botcazou 2004-11-04 23:07:17 +01:00 committed by Eric Botcazou
parent 797c289c9e
commit d48b4987af
2 changed files with 9 additions and 0 deletions

View 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,

View 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;