aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2008-08-13 14:22:19 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2008-08-13 14:22:19 +0000
commit99f536cc68422955e36cc1a5f590d790f92f8001 (patch)
treea132b33918fa2aabf5676cd2cede6a9b1320407a /gcc/expr.c
parente3f05c4e92cbf9464253d7886899204fe7b9e0b8 (diff)
downloadgcc-99f536cc68422955e36cc1a5f590d790f92f8001.zip
gcc-99f536cc68422955e36cc1a5f590d790f92f8001.tar.gz
gcc-99f536cc68422955e36cc1a5f590d790f92f8001.tar.bz2
tree.h (maybe_fold_offset_to_address): Declare.
2008-08-13 Richard Guenther <rguenther@suse.de> * tree.h (maybe_fold_offset_to_address): Declare. * tree-ssa-ccp.c (surely_varying_stmt_p): Fix typo in last commit. (ccp_fold): Handle pointer conversions the same as fold_stmt. Likewise for POINTER_PLUS_EXPR. (maybe_fold_offset_to_reference): Enable disabled code. (maybe_fold_offset_to_address): New function. (fold_stmt_r): Use it. (fold_gimple_assign): Likewise. * gimplify.c (gimplify_conversion): Use maybe_fold_offset_to_address. (gimplify_expr): Likewise. * gcc.dg/tree-ssa/ssa-ccp-21.c: New testcase. * gcc.dg/tree-ssa/ssa-ccp-22.c: Likewise. * gcc.dg/tree-ssa/ssa-ccp-23.c: Likewise. From-SVN: r139061
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions