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:
parent
797c289c9e
commit
d48b4987af
2 changed files with 9 additions and 0 deletions
|
@ -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,
|
||||
|
|
|
@ -9,7 +9,11 @@ struct {
|
|||
long two;
|
||||
} defaultalign;
|
||||
|
||||
#if defined(__LP64__)
|
||||
#pragma pack(8)
|
||||
#else
|
||||
#pragma pack(4)
|
||||
#endif
|
||||
struct {
|
||||
char one;
|
||||
long two;
|
||||
|
|
Loading…
Add table
Reference in a new issue