[Bug inline-asm/99342] Clobbered register used for input operand (aarch64)

stewart.hildebrand at dornerworks dot com gcc-bugzilla@gcc.gnu.org
Tue Mar 2 14:08:24 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99342

Stewart Hildebrand <stewart.hildebrand at dornerworks dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
                 CC|                            |stewart.hildebrand@dornerwo
                   |                            |rks.com
         Resolution|INVALID                     |---

--- Comment #3 from Stewart Hildebrand <stewart.hildebrand at dornerworks dot com> ---
(In reply to Jakub Jelinek from comment #1)
> That is a user error, please read the GCC earlyclobber documentation:
> https://gcc.gnu.org/onlinedocs/gcc/Modifiers.html

Thanks. I've read the earlyclobber documentation. I read this sentence in
particular: "As earlyclobber operands are always written, a read-only
earlyclobber operand is ill-formed and will be rejected by the compiler".

The example code doesn't have any output operands, it only has input operands.
We're not writing to the input operands. Can you please explain what the exact
user error is?


More information about the Gcc-bugs mailing list