[Bug inline-asm/43998] inline assembler: can't set clobbering for input register

ilya.lesokhin at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Apr 8 08:04:00 GMT 2013


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

Ilya Lesokhin <ilya.lesokhin at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ilya.lesokhin at gmail dot
                   |                            |com

--- Comment #13 from Ilya Lesokhin <ilya.lesokhin at gmail dot com> 2013-04-08 08:04:28 UTC ---
Andrew Pinski said:
>  Use an output register that says it clobbers that register.

This indeed works for normal inline assembler, but it doesn't work for asm goto
which currently doesn't have outputs.

maybe the Bug should be reopened for newer versions of GCC?



More information about the Gcc-bugs mailing list