diff options
author | tbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-04-30 02:08:05 +0000 |
---|---|---|
committer | tbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-04-30 02:08:05 +0000 |
commit | 7e05d686e0382446a0319ea33d60edaf51116aeb (patch) | |
tree | 44a966cba2b5d6717be04211662381158fcf9f14 /libobjc | |
parent | 4255e061292e9977f642e5f81825d61d78f6266c (diff) | |
download | gcc-7e05d686e0382446a0319ea33d60edaf51116aeb.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222605 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc')
-rw-r--r-- | libobjc/ChangeLog | 5 | ||||
-rw-r--r-- | libobjc/encoding.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog index 34c3e8e8b0c..544292402cc 100644 --- a/libobjc/ChangeLog +++ b/libobjc/ChangeLog @@ -1,3 +1,8 @@ +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 diff --git a/libobjc/encoding.c b/libobjc/encoding.c index 73339086086..20ace465916 100644 --- a/libobjc/encoding.c +++ b/libobjc/encoding.c @@ -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) |