https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51846
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WORKSFORME Component|c |middle-end Keywords| |wrong-code --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I looked and upstream GCC 4.5.3 produces the correct code.