diff options
author | Richard Guenther <rguenther@suse.de> | 2009-03-28 12:52:13 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2009-03-28 12:52:13 +0000 |
commit | e8114fbacc9e1f4702e754288d39913d4c8f3f35 (patch) | |
tree | 85a9bc8a34934b447056abbe2c2ba3dddef031c3 /gcc/tree-iterator.c | |
parent | d3d3011f933aaeb59829db58cc44d19e47e32e22 (diff) | |
download | gcc-e8114fbacc9e1f4702e754288d39913d4c8f3f35.zip gcc-e8114fbacc9e1f4702e754288d39913d4c8f3f35.tar.gz gcc-e8114fbacc9e1f4702e754288d39913d4c8f3f35.tar.bz2 |
re PR tree-optimization/38180 (CCP does not propagate through constant initializers)
2009-03-28 Richard Guenther <rguenther@suse.de>
PR tree-optimization/38180
* tree-ssa-ccp.c (get_default_value): Simplify.
(likely_value): Likewise.
(surely_varying_stmt_p): Properly handle VOP case.
(ccp_initialize): Likewise.
(ccp_fold): Handle propagating through *&.
(fold_const_aggregate_ref): Also handle decls.
* gcc.dg/tree-ssa/ssa-ccp-24.c: New testcase.
From-SVN: r145184
Diffstat (limited to 'gcc/tree-iterator.c')
0 files changed, 0 insertions, 0 deletions