> Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? > For 4.6, I think safer would be just the first one liner change to pass > VOIDmode to combine_simplify_rtx. Is that ok for 4.6? > > 2011-07-04 Jakub Jelinek <ja...@redhat.com> > > PR rtl-optimization/49619 > * combine.c (combine_simplify_rtx): In PLUS -> IOR simplification > pass VOIDmode as op0_mode to recursive call, and return temp even > when different from tor, just if it is not IOR of the original > PLUS arguments. > > * gcc.dg/pr49619.c: New test.
OK for mainline, and for 4.6/4.5 branch as far as the first part is concerned. -- Eric Botcazou