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

--- Comment #42 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Martin Jambor from comment #41)
> (In reply to H.J. Lu from comment #24)
> > 
> > IPA-CP missed _ZN18eonImageCalculatorC1Ev which calls
> > _ZmlRK10ggSpectrumS1_ with 8-byte aligned rPrimary.
> 
> If I am not mistaken and this call is in between nodes
> __comp_ctor/50391 -> operator*/46520 (the numbers are symtab symbol
> order numbers) then the weird thing is that I do not see this edge
> among jump function listing.  Could we please see
> -fdump-tree-release_ssa dumps of the caller
> _ZN18eonImageCalculatorC1Ev please?

static bool 
propagate_alignment_accross_jump_function (struct cgraph_edge *cs, 
                                           struct ipa_jump_func *jfunc,
                                           struct ipcp_param_lattices
*dest_lat){
  if (alignment_bottom_p (dest_lat))
    return false;

  ipa_alignment cur;
  cur.known = false; 
  if (jfunc->alignment.known)
    cur = jfunc->alignment;

Does it skip a jump func when its argument alignment is unknown?
Shouldn't propagate_alignment_accross_jump_function keeps the
minimum argument alignment, not the maximum argument alignment?

Reply via email to