http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53639
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #27606|0 |1 is obsolete| | --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-06-12 10:41:18 UTC --- Created attachment 27608 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27608 gcc48-pr53639.patch Unfortunately that patch regressed pr49095.c testcase. So, either we limit the splitter to the paradoxical subreg that is created by the combiner when seeing SImode and followed by zero_extend to DImode of the result (done in this patch), or we'd need to add new peepholes for the a = mem; a &= const; mem = a; if (a) cases where a &= const has been transformed into andsi_1_zext. Uros, any preference?