From 1507aa7422143858fed608767a4416ee0735fa77 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Mon, 23 Sep 1996 22:50:55 -0400 Subject: [PATCH] (finish_struct): Check PCC_BITFIELD_TYPE_MATTERS value. (finish_struct): Check PCC_BITFIELD_TYPE_MATTERS value. arbitrary expression. From-SVN: r12828 --- gcc/c-decl.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 039670e18a5..f1d3ba71a36 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 } } -- 2.30.2