http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60840
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- GCC's code generation is correct as smth variable is not marked as volatile, only what it points to is volatile. A "NOP" most likely has a memory clobber in it so GCC thinks smth gets clobbered by that inline assembly.