OSDN Git Service

2007-11-16 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Nov 2007 10:10:05 +0000 (10:10 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Nov 2007 10:10:05 +0000 (10:10 +0000)
commitd61b9af376d56be87fac0a1e2355d8786b59c9d1
tree68350f8f197b9af4a24605143e5aa07c643cbfdd
parente64eebabca289b01f1700034bf8f5b2a9fdf76cf
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130222 138bc75d-0d04-0410-961f-82ee72b054a4
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