[Bug c++/17759] Failure to emit code when using inline asm and optimizing

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Sep 30 21:35:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-30 21:35 -------
Invalid as you are lying to the compiler and saying the address are only accessed and not the memory 
locations, clober "memory" and it will work.
AKA asm ("":::"memory");

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17759



More information about the Gcc-bugs mailing list