re PR tree-optimization/34099 (optimizer problem)
authorRichard Guenther <rguenther@suse.de>
Mon, 19 Nov 2007 12:52:09 +0000 (12:52 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 19 Nov 2007 12:52:09 +0000 (12:52 +0000)
commit0cedb9e94ed11da89cb8ee447415a86ad8bf11f6
treedc74ecf418e243c8716a1cec9373a3f013075b5d
parentbc3e7a8cfc138ec0cdf1f7e39a8c856a25e9b3db
re PR tree-optimization/34099 (optimizer problem)

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

PR tree-optimization/34099
* tree-ssa-ccp.c (likely_value): Exclude all but PLUS_EXPR,
MINUS_EXPR and POINTER_PLUS_EXPR from handling as UNDEFINED
if only one operand is undefined.

* gcc.c-torture/execute/pr34099-2.c: New testcase.

From-SVN: r130289
gcc/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr34099-2.c [new file with mode: 0644]
gcc/tree-ssa-ccp.c