https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89809
Marc Glisse <glisse at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2019-03-24 Component|target |tree-optimization Ever confirmed|0 |1 --- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> --- Strange, the bswap pass is supposed to handle 16 bits just as well as 32. The shift is done in type 'int', maybe the mix between int and short confuses it.