Commit 00d31d5e by Jan Hubicka

Fix previous commit.

From-SVN: r215576
parent ba392339
...@@ -2057,6 +2057,7 @@ ipa_polymorphic_call_context::restrict_to_inner_class (tree expected_type) ...@@ -2057,6 +2057,7 @@ ipa_polymorphic_call_context::restrict_to_inner_class (tree expected_type)
tree type = outer_type; tree type = outer_type;
HOST_WIDE_INT cur_offset = offset; HOST_WIDE_INT cur_offset = offset;
bool speculative = false; bool speculative = false;
bool size_unknown = false;
/* Update OUTER_TYPE to match EXPECTED_TYPE if it is not set. */ /* Update OUTER_TYPE to match EXPECTED_TYPE if it is not set. */
if (!outer_type) if (!outer_type)
...@@ -2133,7 +2134,6 @@ ipa_polymorphic_call_context::restrict_to_inner_class (tree expected_type) ...@@ -2133,7 +2134,6 @@ ipa_polymorphic_call_context::restrict_to_inner_class (tree expected_type)
{ {
HOST_WIDE_INT pos, size; HOST_WIDE_INT pos, size;
tree fld; tree fld;
bool size_unknown;
/* If we do not know size of TYPE, we need to be more conservative /* If we do not know size of TYPE, we need to be more conservative
about accepting cases where we can not find EXPECTED_TYPE. about accepting cases where we can not find EXPECTED_TYPE.
......
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