[Bug optimization/12339] inline assembly is discard when the optimalisation level is enabled

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Sep 21 20:21:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
          Component|inline-asm                  |optimization
         Resolution|                            |INVALID


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-09-21 18:48 -------
Most likely this bug is invalid as if you do not mark the asm as volatile or use the out 
operand, then GCC is going to get rid of them as they are unneeded. 
Closing as invalid because explaination above (if you use out operand then GCC is 
removing the asm because of other reasons and this bug can be reopened when you 
give the preprocessed source for the bug).



More information about the Gcc-bugs mailing list