OSDN Git Service

* combine.c (apply_distributive_law): Correct comment.
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 23 Aug 2003 14:46:22 +0000 (14:46 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 23 Aug 2003 14:46:22 +0000 (14:46 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70734 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/combine.c

index 8830145..281cd85 100644 (file)
@@ -1,3 +1,7 @@
+2003-08-23  Roger Sayle  <roger@eyesopen.com>
+
+       * combine.c (apply_distributive_law): Correct comment.
+
 2003-08-23  Jason Eckhardt  <jle@rice.edu>
 
        * config/i860/i860.h: Remove comment mentioning LIBGCC_NEEDS_DOUBLE.
index b9413f6..821acb2 100644 (file)
@@ -7955,7 +7955,7 @@ apply_distributive_law (rtx x)
   tem = gen_binary (code, GET_MODE (x), lhs, rhs);
 
   /* There is one exception to the general way of distributing:
-     (a ^ b) | (a ^ c) -> (~a) & (b ^ c)  */
+     (a | c) ^ (b | c) -> (a ^ b) & ~c  */
   if (code == XOR && inner_code == IOR)
     {
       inner_code = AND;