Fix correct offset in ipa_get_jf_ancestor_result.
authorMartin Liska <mliska@suse.cz>
Fri, 20 Mar 2020 10:01:13 +0000 (11:01 +0100)
committerMartin Liska <mliska@suse.cz>
Fri, 20 Mar 2020 10:01:13 +0000 (11:01 +0100)
commit7d4549b2cd209eb621453ce13be7ffd84ffa720a
treef85983d269003a49f0b6bef1f68261d17ceec5f9
parent8fefa21fcf67f30c467eb3cb73d09cb96d0ea6a8
Fix correct offset in ipa_get_jf_ancestor_result.

PR ipa/94232
* ipa-cp.c (ipa_get_jf_ancestor_result): Use offset in bytes. Previously
build_ref_for_offset function was used and it transforms off to bytes
from bits.
gcc/ChangeLog
gcc/ipa-cp.c