https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67731
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-09-28 Ever confirmed|0 |1 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Ok, so usually this gets optimized by fold-const.c optimize_bit_field_compare but appearantly that doesn't work here. Not that I like this function very much...