https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78633
--- Comment #6 from Kazumoto Kojima <kkojima at gcc dot gnu.org> --- I've tried a bi-sect on git tree. The ICE went away with commit c95f3fa2db12f22bbb2158d18c95f6714b4292b8 Author: krebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Fri Dec 2 08:32:40 2016 +0000 Do not simplify "(and (reg) (const bit)" to if_then_else. which corresponds to 2016-12-02 Dominik Vogt <v...@linux.vnet.ibm.com> * combine.c (combine_simplify_rtx): Suppress replacement of "(and (reg) (const_int bit))" with "if_then_else". on svn. The ICE pops up again with reverting it on HAED. I don't get what was going on without it, though.