re PR tree-optimization/34099 (optimizer problem)
authorRichard Guenther <rguenther@suse.de>
Fri, 16 Nov 2007 10:10:05 +0000 (10:10 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 16 Nov 2007 10:10:05 +0000 (10:10 +0000)
commit7f879c9615a980c3874350e9739bce139c67f322
tree68350f8f197b9af4a24605143e5aa07c643cbfdd
parentb2c3bcf47b9131455a7fccfaa699269ae108d76b
re PR tree-optimization/34099 (optimizer problem)

2007-11-16  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/34099
* tree-ssa-ccp.c (likely_value): Use a whitelist for operators
that produce UNDEFINED result if at least one of its operands
is UNDEFINED.  By default the result is only UNDEFINED if all
operands are UNDEFINED.

* g++.dg/torture/pr3499.C: New testcase.
* gcc.c-torture/execute/pr34099.c: Likewise.

From-SVN: r130222
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr34099.C [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/execute/pr34099.c [new file with mode: 0644]
gcc/tree-ssa-ccp.c