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

--- Comment #54 from Jan Hubicka <hubicka at ucw dot cz> ---
> 
> diff --git a/gcc/ipa-cp.c b/gcc/ipa-cp.c
> index 440ced4..3bf068a 100644
> --- a/gcc/ipa-cp.c
> +++ b/gcc/ipa-cp.c
> @@ -1451,7 +1451,7 @@ propagate_alignment_accross_jump_function (struct
> cgraph_edge *cs,
>        else
>         {
>           src_idx = ipa_get_jf_ancestor_formal_id (jfunc);
> -         offset = ipa_get_jf_ancestor_offset (jfunc);
> +         offset = ipa_get_jf_ancestor_offset (jfunc) / BITS_PER_UNIT;
>         }
> 
>        src_lats = ipa_get_parm_lattices (caller_info, src_idx);

Hehe, patch is OK
What about the lattice operations patch. If it looks fine to you, i will
regtest/bootstrap and commit.

Honza

Reply via email to