diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-07-07 05:40:49 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-07-07 05:40:49 +0000 |
commit | 96c8d283ee08bf43490b3dcd4e084facaecc1994 (patch) | |
tree | 39d0d67d3b7776dd952fdc17b8a92c3b380e47cb /gcc/tree-flow.h | |
parent | e744e148673e3c3b554ecf12dff523cdefb9daf4 (diff) | |
download | gcc-96c8d283ee08bf43490b3dcd4e084facaecc1994.tar.gz |
* tree-vrp.c (simplify_using_ranges): Kill.
(vrp_finalize): Remove call to simplify_using_ranges.
(simplify_stmt_using_ranges): New function extracted from
simplify_using_ranges.
(simplify_div_or_mod_using_ranges): Likewise.
(simplify_abs_using_ranges): Likewise.
(simplify_cond_using_ranges): New function.
* tree-flow.h (simplify_stmt_using_ranges): Prototype.
* tree-ssa-propagate.c (substitute_and_fold): Call
simplify_stmt_using_ranges if we have range information.
* gcc.dg/tree-ssa/vrp17.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101685 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-flow.h')
-rw-r--r-- | gcc/tree-flow.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-flow.h b/gcc/tree-flow.h index 4a11a4eb49d..773a76f1d4a 100644 --- a/gcc/tree-flow.h +++ b/gcc/tree-flow.h @@ -626,6 +626,7 @@ tree widen_bitfield (tree, tree, tree); /* In tree-vrp.c */ bool expr_computes_nonzero (tree); tree vrp_evaluate_conditional (tree, bool); +void simplify_stmt_using_ranges (tree); /* In tree-ssa-dom.c */ extern void dump_dominator_optimization_stats (FILE *); |