aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-inline.c
diff options
context:
space:
mode:
authorRichard Biener <rguenth@gcc.gnu.org>2015-07-23 13:33:43 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2015-07-23 13:33:43 +0000
commit62fb67d77a7a68c5cfa7d78d751817b68ea78a87 (patch)
tree33af7bd1b422b29f5e10d468c464e32d51540b83 /gcc/tree-inline.c
parentbcdaf3708453cc9f0ad23598f682e17ffd1e5afc (diff)
downloadgcc-62fb67d77a7a68c5cfa7d78d751817b68ea78a87.zip
gcc-62fb67d77a7a68c5cfa7d78d751817b68ea78a87.tar.gz
gcc-62fb67d77a7a68c5cfa7d78d751817b68ea78a87.tar.bz2
gimple-fold.c (fold_gimple_cond): Do not require folding results to pass valid_gimple_rhs_p.
2015-07-23 Richard Biener <rguenther@suse.de> * gimple-fold.c (fold_gimple_cond): Do not require folding results to pass valid_gimple_rhs_p. * tree-cfg.h (fold_cond_expr_cond): Remove. * tree-cfg.c (fold_cond_expr_cond): Likewise. (make_edges): Do not call it. * tree-inline.c (tree_function_versioning): Likewise. From-SVN: r226109
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r--gcc/tree-inline.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c
index 374b246..e1ceea4 100644
--- a/gcc/tree-inline.c
+++ b/gcc/tree-inline.c
@@ -5847,7 +5847,6 @@ tree_function_versioning (tree old_decl, tree new_decl,
fold_marked_statements (0, id.statements_to_fold);
delete id.statements_to_fold;
- fold_cond_expr_cond ();
delete_unreachable_blocks_update_callgraph (&id);
if (id.dst_node->definition)
cgraph_edge::rebuild_references ();