https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105046
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Note, it certainly doesn't force them to be lvalues. You can do something like: int dummy; __asm ("whatever" : "=c" (dummy) : "0" (256) : "edi"); to say you want rvalue 256 in 32-bit %ecx register and say that the %ecx register is clobbered in the inline asm and %edi too.