Commit Graph

2 Commits

Author SHA1 Message Date
Richard Guenther 0a5ec800d7 re PR testsuite/39696 (gcc.dg/tree-ssa/ssa-ccp-25.c scan-tree-dump doesn't work on Linux/ia32)
2009-04-09  Richard Guenther  <rguenther@suse.de>

	PR testsuite/39696
	* ssa-ccp-25.c: Adjust pattern.

From-SVN: r145839
2009-04-09 13:36:57 +00:00
Richard Guenther f76968e6d5 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
2009-04-09 08:05:43 +00:00