This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/12339] inline assembly is discard when the optimalisation level is enabled
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Sep 2003 18:48:36 -0000
- Subject: [Bug optimization/12339] inline assembly is discard when the optimalisation level is enabled
- References: <20030919123827.12339.OMS-sero.Project@ict.nl>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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).