diff options
author | Jan Hubicka <jh@suse.cz> | 2009-10-22 15:31:48 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2009-10-22 13:31:48 +0000 |
commit | 0d4958d02272d61ab5e6e331d171ecc52de82b07 (patch) | |
tree | 6cd22e449598bc92ae7760c5173f67597c593213 /gcc/ipa-cp.c | |
parent | 848af81ed5f0334198c9f8247351191b360dbe2d (diff) | |
download | gcc-0d4958d02272d61ab5e6e331d171ecc52de82b07.zip gcc-0d4958d02272d61ab5e6e331d171ecc52de82b07.tar.gz gcc-0d4958d02272d61ab5e6e331d171ecc52de82b07.tar.bz2 |
re PR tree-optimization/40556 (ICE in IPA-CP with recursion)
* 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
From-SVN: r153456
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 4166e78..79ff16e 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 = |