diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1996-09-23 22:50:55 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1996-09-23 22:50:55 -0400 |
commit | 1507aa7422143858fed608767a4416ee0735fa77 (patch) | |
tree | 7308b52c0ad8b76e544d325e2c4f91281d4c8d13 | |
parent | 1ebf4f391047893678ed9a1e31c8a9d89ccc3981 (diff) | |
download | gcc-1507aa7422143858fed608767a4416ee0735fa77.zip gcc-1507aa7422143858fed608767a4416ee0735fa77.tar.gz gcc-1507aa7422143858fed608767a4416ee0735fa77.tar.bz2 |
(finish_struct): Check PCC_BITFIELD_TYPE_MATTERS value.
(finish_struct): Check PCC_BITFIELD_TYPE_MATTERS value. arbitrary
expression.
From-SVN: r12828
-rw-r--r-- | gcc/c-decl.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 039670e..f1d3ba7 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -5664,8 +5664,9 @@ finish_struct (t, fieldlist, attributes) DECL_ALIGN (x) = MAX (DECL_ALIGN (x), EMPTY_FIELD_BOUNDARY); #endif #ifdef PCC_BITFIELD_TYPE_MATTERS - DECL_ALIGN (x) = MAX (DECL_ALIGN (x), - TYPE_ALIGN (TREE_TYPE (x))); + if (PCC_BITFIELD_TYPE_MATTERS) + DECL_ALIGN (x) = MAX (DECL_ALIGN (x), + TYPE_ALIGN (TREE_TYPE (x))); #endif } } |