https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69117
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |alias, wrong-code Status|UNCONFIRMED |NEW Last reconfirmed| |2016-01-02 Component|rtl-optimization |tree-optimization Target Milestone|--- |6.0 Summary|wrong code at -Os and above |wrong code at -Os and above |on x86_64-linux-gnu | Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed also happens on aarch64-linux-gnu. -O1 -fstrict-aliasing is enough to reproduce the failure.