diff options
author | Richard Guenther <rguenther@suse.de> | 2008-03-17 14:34:21 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2008-03-17 14:34:21 +0000 |
commit | c4e5b5a8bf81daa9e21c17149a4943b96c8099b3 (patch) | |
tree | 953f8e21808467a87b2490c396b2f654c4d588ca /gcc/ChangeLog | |
parent | ec286fe7ab26dbfeeb7e7d05d9d747745c108393 (diff) | |
download | gcc-c4e5b5a8bf81daa9e21c17149a4943b96c8099b3.zip gcc-c4e5b5a8bf81daa9e21c17149a4943b96c8099b3.tar.gz gcc-c4e5b5a8bf81daa9e21c17149a4943b96c8099b3.tar.bz2 |
re PR tree-optimization/19637 (Missed VRP and FRE opportunities in the presence of casts)
2008-03-17 Richard Guenther <rguenther@suse.de>
PR tree-optimization/19637
* fold-const.c (fold_unary): Remove restrictions of removing
intermediate pointer-conversions (P2)(P1)P0.
* tree-ssa-ccp.c (maybe_fold_stmt_addition): Recover from
conversion to void pointer.
(get_maxval_strlen): Handle addresses of the form &(*p)[0].
* g++.dg/tree-ssa/pr19637.C: New testcase.
From-SVN: r133291
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r-- | gcc/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fa2ed09..2830927 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2008-03-17 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/19637 + * fold-const.c (fold_unary): Remove restrictions of removing + intermediate pointer-conversions (P2)(P1)P0. + * tree-ssa-ccp.c (maybe_fold_stmt_addition): Recover from + conversion to void pointer. + (get_maxval_strlen): Handle addresses of the form &(*p)[0]. + 2008-03-16 James E. Wilson <wilson@tuliptree.org> PR debug/31510 |