[Bug c/105046] [enhancement] Allow inline-assembly clobbers to overlap inputs
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 24 21:16:22 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105046
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Sure, but it doesn't force the input to be an lvalue.
You can add variables even in macros in statement expressions,
#define FOO(whatever) \
({ int dummy; __asm ("" : "=c" (dummy) : ...); retval; })
More information about the Gcc-bugs
mailing list