frv.c (frv_adjust_field_align): Check DECL_ARTIFICIAL for too large bitfields.
2003-10-21 Eric Christopher <echristo@redhat.com> * config/frv/frv.c (frv_adjust_field_align): Check DECL_ARTIFICIAL for too large bitfields. From-SVN: r72769
This commit is contained in:
parent
c860c22ce8
commit
25f93e1848
|
@ -1,3 +1,8 @@
|
|||
2003-10-21 Eric Christopher <echristo@redhat.com>
|
||||
|
||||
* config/frv/frv.c (frv_adjust_field_align): Check DECL_ARTIFICIAL
|
||||
for too large bitfields.
|
||||
|
||||
2003-10-21 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
* Makefile.in ($(docobjdir)/%.info): Honor BUILD_INFO.
|
||||
|
|
|
@ -7799,7 +7799,7 @@ frv_adjust_field_align (field, computed)
|
|||
|
||||
/* Make sure that the bitfield is not wider than the type. */
|
||||
if (DECL_BIT_FIELD (field)
|
||||
&& tree_int_cst_compare (DECL_SIZE (field), TYPE_SIZE (type)) <= 0)
|
||||
&& !DECL_ARTIFICIAL (field))
|
||||
{
|
||||
tree parent = DECL_CONTEXT (field);
|
||||
tree prev = NULL_TREE;
|
||||
|
|
Loading…
Reference in New Issue