From: Martin Jambor Date: Wed, 30 Oct 2019 13:57:14 +0000 (+0100) Subject: Fix a call to ultimate_alias_target X-Git-Tag: upstream/12.2.0~20793 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d7caa12927dff2ff9c5dd60dd38fb833066afdf6;p=platform%2Fupstream%2Fgcc.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 40e2c3f..b48bb4d 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 336d271..e20467a 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)