]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/Makefile.in
* Makefile.in (tree-chrec.o): Depends on SCEV_H.
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Sep 2005 10:56:41 +0000 (10:56 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Sep 2005 10:56:41 +0000 (10:56 +0000)
commit9887dd1895f8b48c87a74e33d69cafb5b74f8315
treec7edd2ccfdc78d98667b7a53d37015f541602224
parentfb633c36e09ca2e31855e225b5a7137758922cac
* Makefile.in (tree-chrec.o): Depends on SCEV_H.
* tree-chrec.c: Include tree-scalar-evolution.h.
(chrec_convert): Instantiate the base and step before calling
scev_probably_wraps_p that would fail on parametric evolutions.
Collect all the fails into a single section failed_to_convert,
print a diagnostic, and return chrec_dont_know instead of calling
fold_convert.
* tree-scalar-evolution.c (loop_closed_phi_def): New.
(instantiate_parameters_1): Avoid instantiation of loop closed ssa
phi nodes.
(scev_const_prop): Don't replace the definition of a loop closed ssa
phi node by itself, or by another loop closed ssa phi node.
* tree-ssa-loop-niter.c (scev_probably_wraps_p, convert_step): Check
that base and step are defined.

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