This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r120630 - in /trunk/gcc: ChangeLog testsuite/Ch...
- From: rakdver at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 10 Jan 2007 00:44:27 -0000
- Subject: r120630 - in /trunk/gcc: ChangeLog testsuite/Ch...
Author: rakdver
Date: Wed Jan 10 00:44:26 2007
New Revision: 120630
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120630
Log:
PR tree-optimization/30322
* tree-ssa-loop-ivopts.c (fold_affine_expr, iv_value): Removed.
(cand_value_at): Return the value as aff_tree.
(may_eliminate_iv): Convert the bound from aff_tree to tree.
* tree-affine.c (aff_combination_add_cst, aff_combination_add_product,
aff_combination_mult): New functions.
(aff_combination_add): Use aff_combination_add_cst.
(aff_combination_convert): Allow conversions to a wider type.
(tree_to_aff_combination): Handle BIT_NOT_EXPR.
* tree-affine.h (aff_combination_mult): Declare.
* gcc.dg/tree-ssa/loop-21.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/tree-ssa/loop-21.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-affine.c
trunk/gcc/tree-affine.h
trunk/gcc/tree-ssa-loop-ivopts.c