Commit e022edaf by Trevor Saunders Committed by Trevor Saunders

fixup libobjc's usage of PCC_BITFIELD_TYPE_MATTERS

libobjc/ChangeLog:

	* encoding.c (objc_layout_structure_next_member): check value of
	PCC_BITFIELD_TYPE_MATTERS instead of if it is defined.

From-SVN: r222605
parent 631dc4f8
2015-04-29 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* encoding.c (objc_layout_structure_next_member): Check the value of
PCC_BITFIELD_TYPE_MATTERS not if it is defined.
2015-02-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR libobjc/63765
......
......@@ -1167,7 +1167,7 @@ objc_layout_structure_next_member (struct objc_struct_layout *layout)
/* Record must have at least as much alignment as any field.
Otherwise, the alignment of the field within the record
is meaningless. */
#ifndef PCC_BITFIELD_TYPE_MATTERS
#if !PCC_BITFIELD_TYPE_MATTERS
layout->record_align = MAX (layout->record_align, desired_align);
#else /* PCC_BITFIELD_TYPE_MATTERS */
if (*type == _C_BFLD)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment