http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56476
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code Component|target |tree-optimization --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2013-02-27 19:41:43 UTC --- The tree pass CSElim is doing this for some reason. I think it forgot to check for volatileness.