aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa.c
diff options
context:
space:
mode:
authorUros Bizjak <uros@gcc.gnu.org>2012-07-04 15:49:19 +0200
committerUros Bizjak <uros@gcc.gnu.org>2012-07-04 15:49:19 +0200
commit3f1ae7424c7600eb1033e871d6095a5fe3f81555 (patch)
tree6c9e74b6518a79df559a867dacf83d7c6d47ae70 /gcc/ipa.c
parent23af816cc9efadb9f038a66c8757446e9ce4deeb (diff)
downloadgcc-3f1ae7424c7600eb1033e871d6095a5fe3f81555.zip
gcc-3f1ae7424c7600eb1033e871d6095a5fe3f81555.tar.gz
gcc-3f1ae7424c7600eb1033e871d6095a5fe3f81555.tar.bz2
re PR middle-end/53321 (LTO bootstrap failed with bootstrap-profiled)
PR middle-end/53321 * ipa.c (symtab_remove_unreachable_nodes): Partially revert r187375 to not call cgraph_propagate_frequency if something was changed. testsuite/ChangLog: PR middle-end/53321 * g++.dg/torture/pr53321.C: New test. From-SVN: r189261
Diffstat (limited to 'gcc/ipa.c')
-rw-r--r--gcc/ipa.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/ipa.c b/gcc/ipa.c
index f5cce1b..09351a7 100644
--- a/gcc/ipa.c
+++ b/gcc/ipa.c
@@ -449,11 +449,6 @@ symtab_remove_unreachable_nodes (bool before_inlining_p, FILE *file)
verify_symtab ();
#endif
- /* If we removed something, perhaps profile could be improved. */
- if (changed && optimize && inline_edge_summary_vec)
- FOR_EACH_DEFINED_FUNCTION (node)
- cgraph_propagate_frequency (node);
-
return changed;
}