From: Martin Jambor Date: Wed, 30 Oct 2019 13:57:14 +0000 (+0100) Subject: Fix a call to ultimate_alias_target X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d7caa12927dff2ff9c5dd60dd38fb833066afdf6;p=gcc.git Fix a call to ultimate_alias_target 2019-10-30 Martin Jambor * ipa-prop.c (ipa_compute_jump_functions_for_bb): Fix the call to ultimate_alias_target. From-SVN: r277622 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 40e2c3ff938..b48bb4d838c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-10-30 Martin Jambor + + * ipa-prop.c (ipa_compute_jump_functions_for_bb): Fix the call to + ultimate_alias_target. + 2019-10-30 Richard Biener PR tree-optimization/92275 diff --git a/gcc/ipa-prop.c b/gcc/ipa-prop.c index 336d271874d..e20467a4bce 100644 --- a/gcc/ipa-prop.c +++ b/gcc/ipa-prop.c @@ -2040,7 +2040,7 @@ ipa_compute_jump_functions_for_bb (struct ipa_func_body_info *fbi, basic_block b if (callee) { - callee->ultimate_alias_target (); + callee = callee->ultimate_alias_target (); /* We do not need to bother analyzing calls to unknown functions unless they may become known during lto/whopr. */ if (!callee->definition && !flag_lto)