https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92949
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note bswap pass is very fragile. In fact if we increase the limit by 1, things dont work any more. There needs to be a better way of handling this. Oh when I was adding bit insert to it, it falls over due to the above problem too, though it is a little more complex. If I start with zero, I can get it to work. Though I have not added that one yet. I will be looking into what we could do for store merging to see if it could be improved.