diff options
author | Martin Liska <mliska@suse.cz> | 2019-02-11 09:13:03 +0100 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2019-02-11 08:13:03 +0000 |
commit | 45272fd22f6f77463d46751acf1c7ceeeeec0689 (patch) | |
tree | 95f7ce40eb7def7277d7c336333d75586a810a33 /gcc/ipa-inline.c | |
parent | d29cce74b2f2e5b49d09e8b8ad2b67db21c62ac8 (diff) | |
download | gcc-45272fd22f6f77463d46751acf1c7ceeeeec0689.zip gcc-45272fd22f6f77463d46751acf1c7ceeeeec0689.tar.gz gcc-45272fd22f6f77463d46751acf1c7ceeeeec0689.tar.bz2 |
Construct ipa_reduced_postorder always for overwritable (PR ipa/89009).
2019-02-11 Martin Liska <mliska@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 <mliska@suse.cz>
PR ipa/89009
* g++.dg/ipa/pr89009.C: New test.
From-SVN: r268762
Diffstat (limited to 'gcc/ipa-inline.c')
-rw-r--r-- | gcc/ipa-inline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-inline.c b/gcc/ipa-inline.c index 4ddbfdf..360c3de 100644 --- a/gcc/ipa-inline.c +++ b/gcc/ipa-inline.c @@ -1778,7 +1778,7 @@ inline_small_functions (void) metrics. */ max_count = profile_count::uninitialized (); - ipa_reduced_postorder (order, true, true, NULL); + ipa_reduced_postorder (order, true, NULL); free (order); FOR_EACH_DEFINED_FUNCTION (node) |