This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Fix regression for missed combine opportunity
On Oct 15, 2004, at 3:26 PM, Pat Haugen wrote:
A regression was introduced when changes were made to canonicalize
XOR/MINUS signbit to PLUS signbit. Code to combine an XOR feeding a
ZERO_EXTRACT was not recognizing the opportunity because the XOR was
canonicalized into a PLUS.
An example of what this fixes:
if ((u & 16) == 0) ...
Bootstrapped/regtested on powerpc64-unknown-linux-gnu with no new
Just a note that this is PR 18002 (I noticed it while looking into
bug reports). This also effects 3.4.x.