Commit f3f72ea0 by Richard Kenner

Finish correcting inadvertent checkin.

From-SVN: r67107
parent eaf5fde9
...@@ -5799,7 +5799,7 @@ get_inner_reference (exp, pbitsize, pbitpos, poffset, pmode, ...@@ -5799,7 +5799,7 @@ get_inner_reference (exp, pbitsize, pbitpos, poffset, pmode,
made during type construction. */ made during type construction. */
if (this_offset == 0) if (this_offset == 0)
break; break;
else if (CONTAINS_PLACEHOLDER_P (this_offset)) else if (contains_placeholder_p (this_offset))
this_offset = build (WITH_RECORD_EXPR, sizetype, this_offset, exp); this_offset = build (WITH_RECORD_EXPR, sizetype, this_offset, exp);
offset = size_binop (PLUS_EXPR, offset, this_offset); offset = size_binop (PLUS_EXPR, offset, this_offset);
...@@ -5829,9 +5829,9 @@ get_inner_reference (exp, pbitsize, pbitpos, poffset, pmode, ...@@ -5829,9 +5829,9 @@ get_inner_reference (exp, pbitsize, pbitpos, poffset, pmode,
/* If the index has a self-referential type, pass it to a /* If the index has a self-referential type, pass it to a
WITH_RECORD_EXPR; if the component size is, pass our WITH_RECORD_EXPR; if the component size is, pass our
component to one. */ component to one. */
if (CONTAINS_PLACEHOLDER_P (index)) if (contains_placeholder_p (index))
index = build (WITH_RECORD_EXPR, TREE_TYPE (index), index, exp); index = build (WITH_RECORD_EXPR, TREE_TYPE (index), index, exp);
if (CONTAINS_PLACEHOLDER_P (unit_size)) if (contains_placeholder_p (unit_size))
unit_size = build (WITH_RECORD_EXPR, sizetype, unit_size, array); unit_size = build (WITH_RECORD_EXPR, sizetype, unit_size, array);
offset = size_binop (PLUS_EXPR, offset, offset = size_binop (PLUS_EXPR, offset,
......
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