OSDN Git Service

2007-11-19 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Nov 2007 12:52:58 +0000 (12:52 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Nov 2007 12:52:58 +0000 (12:52 +0000)
commit73b0c6f3edfaedf2ff042dd14c240fc5f645b36a
treef6ea6695ffc24f0707d93737fd7d9cfc0e0319fd
parent05a936a0140b1564eed3ff0f58b0af88937fab8a
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@130290 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog