OSDN Git Service

2012-01-05 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Jan 2012 13:41:34 +0000 (13:41 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Jan 2012 13:41:34 +0000 (13:41 +0000)
commitc91fedc5ff51bf5b152892060f29a6df8a8bb2af
treedfc04cfd1214b568092a48852182c24f30c0fd05
parentea580cf7d8d93cc795106f985d6a6e6b686b192d
2012-01-05  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/51760
* tree-ssa-ccp.c (likely_value): Drop UNDEFINED to CONSTANT,
not VARYING.
(bit_value_unop): Handle UNDEFINED operands.
(bit_value_binop): Likewise.

* gcc.dg/torture/pr51760.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182909 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr51760.c [new file with mode: 0644]
gcc/tree-ssa-ccp.c