From: Roger Sayle Date: Sat, 23 Aug 2003 14:46:22 +0000 (+0000) Subject: * combine.c (apply_distributive_law): Correct comment. X-Git-Tag: releases/gcc-3.4.0~4102 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0209ac28f50b768f82d83e6ad6f5eabc21e8b44;p=thirdparty%2Fgcc.git * combine.c (apply_distributive_law): Correct comment. From-SVN: r70734 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 883014591861..281cd853bae7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-08-23 Roger Sayle + + * combine.c (apply_distributive_law): Correct comment. + 2003-08-23 Jason Eckhardt * config/i860/i860.h: Remove comment mentioning LIBGCC_NEEDS_DOUBLE. diff --git a/gcc/combine.c b/gcc/combine.c index b9413f69835a..821acb228844 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;