https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71240
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> --- ICE fixed. For the missed-optimization the proper conversion would include detecting a bswap of bytes 1 to 4 and thus doing a "random" new subreg of the source value. Certainly doable but also might prove somewhat tricky and costly (sub-regging say bytes 3 to 7 from a double).