diff options
author | Mark Mitchell <mark@codesourcery.com> | 2002-12-23 05:10:14 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2002-12-23 05:10:14 +0000 |
commit | d317855ebc20b623e5479309e17ede057510c9b6 (patch) | |
tree | 43a8a5872c87f89bbc90de89ef4fa18fc50bdc3d /gcc/stor-layout.c | |
parent | 66b77cb0833ad567c58db81004fa445b1a235514 (diff) | |
download | gcc-d317855ebc20b623e5479309e17ede057510c9b6.zip gcc-d317855ebc20b623e5479309e17ede057510c9b6.tar.gz gcc-d317855ebc20b623e5479309e17ede057510c9b6.tar.bz2 |
stor-layout.c (update_alignment_for_field): Guard use of ADJUST_FIELD_ALIGN with #ifdef.
* stor-layout.c (update_alignment_for_field): Guard use of
ADJUST_FIELD_ALIGN with #ifdef.
From-SVN: r60422
Diffstat (limited to 'gcc/stor-layout.c')
-rw-r--r-- | gcc/stor-layout.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c index 21791fc..c4fdaee 100644 --- a/gcc/stor-layout.c +++ b/gcc/stor-layout.c @@ -724,7 +724,9 @@ update_alignment_for_field (rli, field, known_align) else if (! DECL_PACKED (field)) { desired_align = TYPE_ALIGN (type); +#ifdef ADJUST_FIELD_ALIGN desired_align = ADJUST_FIELD_ALIGN (field, desired_align); +#endif } /* A named bit field of declared type `int' |