[Bug inline-asm/97708] Inline asm does not use the local register asm specified with register ... asm() as input
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Nov 3 20:41:52 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97708
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution|--- |INVALID
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Segher Boessenkool from comment #3)
> Yes, exactly. GCC silently does the wrong thing, contradicting its
> documentation.
Whihc part:
Then use the local variable for the asm operand and specify any constraint
letter that matches the register:
?
More information about the Gcc-bugs
mailing list