https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89009
--- Comment #16 from Martin Liška <marxin at gcc dot gnu.org> --- Author: marxin Date: Thu Feb 14 11:24:45 2019 New Revision: 268871 URL: https://gcc.gnu.org/viewcvs?rev=268871&root=gcc&view=rev Log: Backport r268762 2019-02-14 Martin Liska <mli...@suse.cz> Backport from mainline 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-14 Martin Liska <mli...@suse.cz> Backport from mainline 2019-02-11 Martin Liska <mli...@suse.cz> PR ipa/89009 * g++.dg/ipa/pr89009.C: New test. Added: branches/gcc-8-branch/gcc/testsuite/g++.dg/ipa/pr89009.C Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/ipa-cp.c branches/gcc-8-branch/gcc/ipa-inline.c branches/gcc-8-branch/gcc/ipa-pure-const.c branches/gcc-8-branch/gcc/ipa-reference.c branches/gcc-8-branch/gcc/ipa-utils.c branches/gcc-8-branch/gcc/ipa-utils.h branches/gcc-8-branch/gcc/testsuite/ChangeLog