[Bug inline-asm/87733] local register variable not honored with earlyclobber

amonakov at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Mar 14 19:29:32 GMT 2020


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

--- Comment #21 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
> I could guess the compiler might ignore your inputs/outputs that you specify if you don't have any %<N> usages for them.

Are you seriously suggesting that examples in the GCC manual are invalid and
every such usage out there should go and add mentions of referenced registers
in the comment in the inline asm template?

https://gcc.gnu.org/onlinedocs/gcc/Local-Register-Variables.html


More information about the Gcc-bugs mailing list