https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77673
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code Status|UNCONFIRMED |NEW Last reconfirmed| |2016-09-21 Component|middle-end |tree-optimization Target Milestone|--- |5.5 Summary|4-byte load generated |[5/6/7 Regression] 4-byte |instead of 1-byte load, |load generated instead of |possibly reading past the |1-byte load, possibly |end of object |reading past the end of | |object Ever confirmed|0 |1 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed. The bswap pass is putting the word load and __builtin_bswap after the first load instead right after the last load.