aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-cfg.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2009-04-09 08:05:43 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2009-04-09 08:05:43 +0000
commitf76968e6d5ab3ca8bd5b64ba0143197c00f59943 (patch)
treea08a54da6efd905c9042e644d8017899d9d9c0f1 /gcc/tree-cfg.c
parentc90c5fb5a5e09a6405c7dbfa145bf3a9baf70fad (diff)
downloadgcc-f76968e6d5ab3ca8bd5b64ba0143197c00f59943.zip
gcc-f76968e6d5ab3ca8bd5b64ba0143197c00f59943.tar.gz
gcc-f76968e6d5ab3ca8bd5b64ba0143197c00f59943.tar.bz2
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
Diffstat (limited to 'gcc/tree-cfg.c')
0 files changed, 0 insertions, 0 deletions