summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2003-08-23 14:46:22 +0000
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2003-08-23 14:46:22 +0000
commit18f2b54c072f8f9ee09b8300fb0b39d8f7f412c8 (patch)
tree5f048a664baab6a0365753f2017853e6d2d34876
parent048be90b6576ebc9ddfae2ac8dd5170cdbe71df4 (diff)
downloadppe42-gcc-18f2b54c072f8f9ee09b8300fb0b39d8f7f412c8.tar.gz
ppe42-gcc-18f2b54c072f8f9ee09b8300fb0b39d8f7f412c8.zip
* combine.c (apply_distributive_law): Correct comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70734 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/combine.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 88301459186..281cd853bae 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/combine.c b/gcc/combine.c
index b9413f69835..821acb22884 100644
--- a/gcc/combine.c
+++ b/gcc/combine.c
@@ -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;
OpenPOWER on IntegriCloud