tree-ssa-forwprop.c
42.2 KB
-
tree-ssa-ccp.c (maybe_fold_stmt_addition): Move non-constant indices into an… · f76968e6
tree-ssa-ccp.c (maybe_fold_stmt_addition): Move non-constant indices into an array reference if possible. 2009-04-09 Richard Guenther <rguenther@suse.de> * tree-ssa-ccp.c (maybe_fold_stmt_addition): Move non-constant indices into an array reference if possible. * tree-ssa-forwprop.c (tree_ssa_forward_propagate_single_use_vars): Fold POINTER_PLUS_EXPR statements with invariant address. * gcc.dg/tree-ssa/ssa-ccp-25.c: New testcase. * gcc.dg/tree-ssa/ssa-ccp-26.c: Likewise. From-SVN: r145799
Richard Guenther committed