projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a653d06
)
* combine.c (apply_distributive_law): Correct comment.
author
Roger Sayle
<roger@eyesopen.com>
Sat, 23 Aug 2003 14:46:22 +0000
(14:46 +0000)
committer
Roger Sayle
<sayle@gcc.gnu.org>
Sat, 23 Aug 2003 14:46:22 +0000
(14:46 +0000)
From-SVN: r70734
gcc/ChangeLog
patch
|
blob
|
history
gcc/combine.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index 8830145918615c7fb99da963b9f2e54cf158b4cd..281cd853bae78250d3ba919d549203cf00bd6a1e 100644
(file)
--- 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 b9413f69835af66729ea5a544f789b687a195b38..821acb2288445f9db56206b98a995515fc3e18fb 100644
(file)
--- 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;