https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61572
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> --- I also note that the testcase no longer does what it tries to do after fn1 is inlined. It seems to try making rdx available for the asm by loading p1 into b. But after inlining completed rdx will contain garbage. So very likely the kernel is miscompiled. [and I don't think it's well-defined to consider rdx unchanged from function entry to the load via c]