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

bergner at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Mar 14 18:58:57 GMT 2020


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

--- Comment #18 from Peter Bergner <bergner at gcc dot gnu.org> ---
(In reply to Rich Felker from comment #16)
> long syscall6(long n, long a, long b, long c, long d, long e, long f)
[snip]
> 		: "ir"(n), "r"(r4), "r"(r5), "r"(r6)

...and "n" is an argument register, so why use "ir" for n's constraint? 
Shouldn't that just be "r"?  Maybe that is confusing IRA/LRA/reload?


More information about the Gcc-bugs mailing list