On Thu, Jan 2, 2014 at 5:12 AM, Mike Stump <mikest...@comcast.net> wrote: > On Nov 23, 2013, at 11:22 AM, Mike Stump <mikest...@comcast.net> wrote: >> Richi has asked the we break the wide-int patch so that the individual port >> and front end maintainers can review their parts without have to go through >> the entire patch. This patch covers the ipa code. >> >> Ok? > > Ping? > > I promise, this patch isn't frightening. Small, easy to read and understand, > doesn't require an ipa expert.
Why @@ -968,7 +968,7 @@ get_polymorphic_call_info (tree fndecl, { base_pointer = TREE_OPERAND (base, 0); context->offset - += offset2 + mem_ref_offset (base).low * BITS_PER_UNIT; + += offset2 + mem_ref_offset (base).ulow () * BITS_PER_UNIT; context->outer_type = NULL; } /* We found base object. In this case the outer_type but then @@ -1063,7 +1063,7 @@ compute_complex_assign_jump_func (struct ipa_node_params *info, || max_size == -1 || max_size != size) return; - offset += mem_ref_offset (base).low * BITS_PER_UNIT; + offset += mem_ref_offset (base).to_short_addr () * BITS_PER_UNIT; ssa = TREE_OPERAND (base, 0); if (TREE_CODE (ssa) != SSA_NAME || !SSA_NAME_IS_DEFAULT_DEF (ssa) ? I think it should be to_short_addr () in the first case as well. Ok with that change. Richard. >