[Bug ipa/65028] [5 Regression] 450.soplex in SPEC CPU 2006 is miscompiled

hjl.tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Feb 19 20:06:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65028

--- Comment #55 from H.J. Lu <hjl.tools at gmail dot com> ---
Another issue is propagate_constants_accross_call has

  for (; (i < args_count) && (i < parms_count); i++)
    {
      struct ipa_jump_func *jump_func = ipa_get_ith_jump_func (args, i);
      struct ipcp_param_lattices *dest_plats;

      dest_plats = ipa_get_parm_lattices (callee_info, i);
      if (availability == AVAIL_INTERPOSABLE)
        ret |= set_all_contains_variable (dest_plats);
      else
        {
          ret |= propagate_scalar_accross_jump_function (cs, jump_func,
                                                         &dest_plats->itself);
          ret |= propagate_context_accross_jump_function (cs, jump_func, i,
                                                          &dest_plats->ctxlat);
          ret |= propagate_alignment_accross_jump_function (cs, jump_func,
                                                            dest_plats);
          ret |= propagate_aggs_accross_jump_function (cs, jump_func,
                                                       dest_plats);
        }
    }

Even if availability == AVAIL_INTERPOSABLE, alignment from jump_func
is used if the function isn't preempted at run-time.  Shouldn't it
call propagate_alignment_accross_jump_function unconditionally?



More information about the Gcc-bugs mailing list