https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89009
--- Comment #14 from Martin Liška <marxin at gcc dot gnu.org> --- Author: marxin Date: Mon Feb 11 08:13:03 2019 New Revision: 268762 URL: https://gcc.gnu.org/viewcvs?rev=268762&root=gcc&view=rev Log: Construct ipa_reduced_postorder always for overwritable (PR ipa/89009). 2019-02-11 Martin Liska <mli...@suse.cz> PR ipa/89009 * ipa-cp.c (build_toporder_info): Remove usage of a param. * ipa-inline.c (inline_small_functions): Likewise. * ipa-pure-const.c (propagate_pure_const): Likewise. (propagate_nothrow): Likewise. * ipa-reference.c (propagate): Likewise. * ipa-utils.c (struct searchc_env): Remove unused field. (searchc): Always search across AVAIL_INTERPOSABLE. (ipa_reduced_postorder): Always allow AVAIL_INTERPOSABLE as the only called IPA pure const can properly not propagate across interposable boundary. * ipa-utils.h (ipa_reduced_postorder): Remove param. 2019-02-11 Martin Liska <mli...@suse.cz> PR ipa/89009 * g++.dg/ipa/pr89009.C: New test. Added: trunk/gcc/testsuite/g++.dg/ipa/pr89009.C Modified: trunk/gcc/ChangeLog trunk/gcc/ipa-cp.c trunk/gcc/ipa-inline.c trunk/gcc/ipa-pure-const.c trunk/gcc/ipa-reference.c trunk/gcc/ipa-utils.c trunk/gcc/ipa-utils.h trunk/gcc/testsuite/ChangeLog