OSDN Git Service

2007-11-19 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Nov 2007 12:52:09 +0000 (12:52 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Nov 2007 12:52:09 +0000 (12:52 +0000)
commit05a936a0140b1564eed3ff0f58b0af88937fab8a
treedc74ecf418e243c8716a1cec9373a3f013075b5d
parent86f0974ba6ff1bd2fca6c94ceabb269f1596fb4f
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.

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