]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* combine.c (apply_distributive_law): Correct comment.
authorRoger Sayle <roger@eyesopen.com>
Sat, 23 Aug 2003 14:46:22 +0000 (14:46 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Sat, 23 Aug 2003 14:46:22 +0000 (14:46 +0000)
From-SVN: r70734

gcc/ChangeLog
gcc/combine.c

index 8830145918615c7fb99da963b9f2e54cf158b4cd..281cd853bae78250d3ba919d549203cf00bd6a1e 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 b9413f69835af66729ea5a544f789b687a195b38..821acb2288445f9db56206b98a995515fc3e18fb 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;