From: jamborm Date: Wed, 30 Oct 2019 13:57:14 +0000 (+0000) Subject: Fix a call to ultimate_alias_target X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=908fd35717318d5bc3ffb4ec85790bdb1e69c7ad;p=thirdparty%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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@277622 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 40e2c3ff9383..b48bb4d838c9 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 336d271874d6..e20467a4bcef 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)