https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112374
--- Comment #13 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I wonder if there is some debug comparison failure going on that gets exposed via having those patterns. Maybe try compiling i386-expand.cc with -fcompare-debug manually might be able to detect it.