re PR tree-optimization/51760 (ICE in set_lattice_value, at tree-ssa-ccp.c:456)
authorRichard Guenther <rguenther@suse.de>
Thu, 5 Jan 2012 13:41:34 +0000 (13:41 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 5 Jan 2012 13:41:34 +0000 (13:41 +0000)
commit6ad024b4c0011de3a2c3a461e44f5e0ac3b70123
treedfc04cfd1214b568092a48852182c24f30c0fd05
parent713b8dfb751d1d60e63b3005df128dc5cd3fd921
re PR tree-optimization/51760 (ICE in set_lattice_value, at tree-ssa-ccp.c:456)

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.

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