diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-10-22 13:31:48 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-10-22 13:31:48 +0000 |
commit | 13ea1784af6bf316db969e8ec33be8cc1a9bf716 (patch) | |
tree | 6cd22e449598bc92ae7760c5173f67597c593213 /gcc/ipa-cp.c | |
parent | 613afb4ff84fa0e363b90c7cf8dfe20af228f360 (diff) | |
download | gcc-13ea1784af6bf316db969e8ec33be8cc1a9bf716.tar.gz |
* ipa-cp.c (ipcp_read_summary): Remove now invalid FIXME and
flag_ltrans check.
* ipa-inline.c (cgraph_mark_inline_edge,
cgraph_decide_inlining_of_small_function,
cgraph_decide_inlining, inline_read_summary): Disable indirect inlining
for WPA for time being.
PR tree-optimize/40556
* ipa-inline.c (cgraph_early_inlining): Fix iterations condition.
Fix PR number for earlier patch to:
PR lto/41730
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153456 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-cp.c')
-rw-r--r-- | gcc/ipa-cp.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/gcc/ipa-cp.c b/gcc/ipa-cp.c index 4166e78d61c..79ff16e0e7f 100644 --- a/gcc/ipa-cp.c +++ b/gcc/ipa-cp.c @@ -1302,13 +1302,7 @@ ipcp_read_summary (void) static bool cgraph_gate_cp (void) { - /* FIXME lto. IPA-CP does not tolerate running when the inlining decisions - have not been applied. This happens when WPA modifies the callgraph. - Since those decisions are not applied until after all the IPA passes - have been run in LTRANS, this means that IPA passes may see partially - modified callgraphs. The solution to this is to apply WPA decisions - early during LTRANS. */ - return flag_ipa_cp && !flag_ltrans; + return flag_ipa_cp; } struct ipa_opt_pass_d pass_ipa_cp = |