This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Fold ~(X ^ Y) if ~X or ~Y simplify
- From: Roger Sayle <roger at eyesopen dot com>
- To: "James A. Morrison" <ja2morri at csclub dot uwaterloo dot ca>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 19 Apr 2005 22:06:35 -0600 (MDT)
- Subject: Re: [patch] Fold ~(X ^ Y) if ~X or ~Y simplify
On 19 Apr 2005, James A. Morrison wrote:
> 2005-04-19 James A. Morrison <phython@gcc.gnu.org>
>
> * fold-const.c (fold_binary): Fold ~(X ^ Y) to ~X ^ Y or X ^ ~Y if
> ~X or ~Y simplify.
This is OK for mainline.
Thanks,
Roger
--