re PR tree-optimization/23942 (loop problem / testcase takes very long time to compile)
authorSebastian Pop <pop@cri.ensmp.fr>
Mon, 26 Sep 2005 18:44:16 +0000 (20:44 +0200)
committerSebastian Pop <spop@gcc.gnu.org>
Mon, 26 Sep 2005 18:44:16 +0000 (18:44 +0000)
commitc59dabbe46f7fb351cf1eeadadc3c7fc655a57f6
treece0308e7c928b4cd0931b0d737e65c3428d59513
parent0f9284bf83143fbc2682b831121553c85e4b14f2
re PR tree-optimization/23942 (loop problem / testcase takes very long time to compile)

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.

From-SVN: r104653
gcc/ChangeLog
gcc/Makefile.in
gcc/tree-scalar-evolution.c