re PR tree-optimization/34099 (optimizer problem)
authorRichard Biener <rguenth@gcc.gnu.org>
Mon, 19 Nov 2007 12:52:58 +0000 (12:52 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 19 Nov 2007 12:52:58 +0000 (12:52 +0000)
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: r130290

gcc/testsuite/ChangeLog

index ae0adfb..0984458 100644 (file)
@@ -1,3 +1,8 @@
+2007-11-19  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/34
+       * gcc.c-torture/execute/pr34099-2.c: New testcase.
+
 2007-11-19  Tobias Burnus  <burnus@net-b.de>
 
        PR fortran/34079