On Mon, May 11, 2015 at 11:23:47AM -0600, Jeff Law wrote: > > * combine.c (simplify_set): When generating a CC set, if the > > source already is in the correct mode, do not wrap it in a > > compare. Simplify the rest of that code. > Seems reasonable. Might not hurt to do a little testing on a cc0 target > though.
I tested on mn10300, cris, and m68k. On m68k it triggers while building libgcc (for 040). I verified the transform is correct. I don't have a setup to actually bootstrap or regression check any cc0 target. A recurring theme :-( Segher