[patch] fold-const.c: Don't transform X & C into (X >> C') & 1 in fold_binary.

James E Wilson wilson@specifixinc.com
Wed Apr 27 22:24:00 GMT 2005


Richard Earnshaw wrote:
>   i = i - 1;
>   if (i != -000000001) goto <L0>; else goto <L2>;

This is done by ivopts.  There was just a thread about this on the gcc 
list, where we got the same complaint reported as an x86 regression.
     http://gcc.gnu.org/ml/gcc/2005-04/msg01242.html
I suggested creating a bug report to document it.  I don't think there 
is one yet.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



More information about the Gcc-patches mailing list