when PCC_BITFIELD_TYPE_MATTERS is defined but not
EMPTY_FIELD_BOUNDARY.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65234
138bc75d-0d04-0410-961f-
82ee72b054a4
+2003-04-04 Andreas Schwab <schwab@suse.de>
+
+ * stor-layout.c (layout_decl): Avoid syntax error in last change
+ when PCC_BITFIELD_TYPE_MATTERS is defined but not
+ EMPTY_FIELD_BOUNDARY.
+
2003-04-03 Jason Merrill <jason@redhat.com>
PR c/10175
do_type_align (type, decl);
else
#endif
+ {
#ifdef EMPTY_FIELD_BOUNDARY
- if (EMPTY_FIELD_BOUNDARY > DECL_ALIGN (decl))
- {
- DECL_ALIGN (decl) = EMPTY_FIELD_BOUNDARY;
- DECL_USER_ALIGN (decl) = 0;
- }
+ if (EMPTY_FIELD_BOUNDARY > DECL_ALIGN (decl))
+ {
+ DECL_ALIGN (decl) = EMPTY_FIELD_BOUNDARY;
+ DECL_USER_ALIGN (decl) = 0;
+ }
#endif
+ }
}
/* See if we can use an ordinary integer mode for a bit-field.