re PR tree-optimization/16632 (A couple fold-const.c optimizations are non-functional)
authorKazu Hirata <kazu@gcc.gnu.org>
Sun, 3 Oct 2004 15:33:20 +0000 (15:33 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Sun, 3 Oct 2004 15:33:20 +0000 (15:33 +0000)
PR tree-optimization/16632
* fold-const.c (fold) [EQ_EXPR]: When seeing if D & ~C != 0 to
fold (A & C) == D into 0, fold ~C.  Similarly, for the case
where | is used instead of &.

PR tree-optimization/16632
* testsuite/gcc.dg/tree-ssa/20041002-1.c: New.

From-SVN: r88450

gcc/ChangeLog
gcc/testsuite/ChangeLog

index 8cb2906e2f91e43d21a15bfeff7f31d4eecb7b3b..06f624740cc83f9092f03a9828acf0fc65c56327 100644 (file)
@@ -1,5 +1,6 @@
 2004-10-03  Kazu Hirata  <kazu@cs.umass.edu>
 
+       PR tree-optimization/16632
        * fold-const.c (fold) [EQ_EXPR]: When seeing if D & ~C != 0 to
        fold (A & C) == D into 0, fold ~C.  Similarly, for the case
        where | is used instead of &.
index 3e323055361203ec084c04d553fa212794a6831b..ac4ecfd20c07ad561ce36392029019570f3c8d69 100644 (file)
@@ -1,5 +1,6 @@
 2004-10-03  Kazu Hirata  <kazu@cs.umass.edu>
 
+       PR tree-optimization/16632
        * gcc.dg/tree-ssa/20041002-1.c: New.
 
 2004-10-03  Paul Brook  <paul@codesourcery.com>