re PR tree-optimization/21636 (Missed ccp optimization)
authorRichard Guenther <rguenther@suse.de>
Wed, 30 Apr 2008 19:05:12 +0000 (19:05 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 30 Apr 2008 19:05:12 +0000 (19:05 +0000)
commit00d382a8ddfca7635f66bef566909f9f207e50df
treeb7a5b3945a52dec7a42195920ef45ab364051d4b
parent45e184209dbf619aab2f777064891c97e6c4b185
re PR tree-optimization/21636 (Missed ccp optimization)

2008-04-30  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/21636
* tree-ssa-ccp.c (ccp_fold): Handle &p->x with p being a
constant address.
(evaluate_stmt): Print the likely value.
(ccp_visit_stmt): Avoid excessive vertical spacing.

* gcc.dg/tree-ssa/ssa-ccp-19.c: New testcase.

From-SVN: r134834
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-19.c [new file with mode: 0644]
gcc/tree-ssa-ccp.c