OSDN Git Service

2008-04-30 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Apr 2008 19:05:12 +0000 (19:05 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Apr 2008 19:05:12 +0000 (19:05 +0000)
commit912f109f18aabf5e30101cbbc4f8bed8728200ac
treeb7a5b3945a52dec7a42195920ef45ab364051d4b
parent55c10931ab9e4dea668b753f79d8105fbac71f40
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134834 138bc75d-0d04-0410-961f-82ee72b054a4
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