Commit 25f93e18 by Eric Christopher Committed by Eric Christopher

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
parent c860c22c
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> 2003-10-21 Mark Mitchell <mark@codesourcery.com>
* Makefile.in ($(docobjdir)/%.info): Honor BUILD_INFO. * Makefile.in ($(docobjdir)/%.info): Honor BUILD_INFO.
......
...@@ -7799,7 +7799,7 @@ frv_adjust_field_align (field, computed) ...@@ -7799,7 +7799,7 @@ frv_adjust_field_align (field, computed)
/* Make sure that the bitfield is not wider than the type. */ /* Make sure that the bitfield is not wider than the type. */
if (DECL_BIT_FIELD (field) 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 parent = DECL_CONTEXT (field);
tree prev = NULL_TREE; tree prev = NULL_TREE;
......
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