diff options
author | Roger Sayle <roger@eyesopen.com> | 2003-08-23 14:46:22 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2003-08-23 14:46:22 +0000 |
commit | a0209ac28f50b768f82d83e6ad6f5eabc21e8b44 (patch) | |
tree | 5f048a664baab6a0365753f2017853e6d2d34876 /gcc | |
parent | a653d067f7084ce815c5e1a593eef7e5639564d2 (diff) | |
download | gcc-a0209ac28f50b768f82d83e6ad6f5eabc21e8b44.zip gcc-a0209ac28f50b768f82d83e6ad6f5eabc21e8b44.tar.gz gcc-a0209ac28f50b768f82d83e6ad6f5eabc21e8b44.tar.bz2 |
* combine.c (apply_distributive_law): Correct comment.
From-SVN: r70734
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/combine.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8830145..281cd85 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 b9413f6..821acb2 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; |