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

--- Comment #5 from Linus Torvalds <torva...@linux-foundation.org> ---
Btw, Nick (who is doing this on the clang side, tells me that the tcmalloc
people are looking at using the asm goto with outputs too, so it's not just the
kernel.

If somebody wants to play with it, I do have a patch to use it in the kernel as
a test-case.

HOWEVER - I'm working on cleaning up some of the infrastructure around it, but
at least for now, that patch is a "all or nothing" thing: it unconditionally
requires asm goto w/ inputs support, so there's no fallback to "older compiler
without asm goto with inputs" codepath.

With the cleanups, I hope to have a patch that can swing both ways, but right
now it's very much for testing only, and I don't want to make that patch too
public because it will just break for anybody with a non-experimental compiler.

Reply via email to