OSDN Git Service

PR tree-optimization/23942
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Sep 2005 18:44:16 +0000 (18:44 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Sep 2005 18:44:16 +0000 (18:44 +0000)
commitd1de0ec2f6c424f50791fde5fb338a168d32a633
treece0308e7c928b4cd0931b0d737e65c3428d59513
parent09c737d52cb942b6103d9a7a0aefb1dc87c3a1bb
PR tree-optimization/23942
* Makefile.in (SCEV_H): Depends on PARAMS_H.
* tree-scalar-evolution.c: Include params.h.
(t_bool): New enum.
(follow_ssa_edge, follow_ssa_edge_in_rhs,
follow_ssa_edge_in_condition_phi_branch,
follow_ssa_edge_in_condition_phi, follow_ssa_edge_inner_loop_phi):
Change return type to t_bool.  Use a parameter to limit the size of
trees that are walked before stopping
(analyze_evolution_in_loop): Initialize the limit to 0.
(follow_ssa_edge): Give up by returning t_dont_know if the limit
exceeds PARAM_SCEV_MAX_EXPR_SIZE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104653 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/Makefile.in
gcc/tree-scalar-evolution.c