This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On Wed, Apr 20, 2005 at 06:04:56PM -0400, Kazu Hirata wrote:
> If you like, I'd be happy to teach fold_binary to transform
> (a >> 2) & 1 != 0 back to a & 4 != 0 for you

Having a canonical representation wouldn't be a bad thing.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]