Potentially enable gbitlock USE_ASM_GOTO with clang9+ ?
Clang 9.0.0 release notes contain this bit:
Initial support for asm goto statements (a GNU C extension) has been added for control flow from inline assembly to labels. The main consumers of this construct are the Linux kernel (CONFIG_JUMP_LABEL=y) and glib. There are still a few unsupported corner cases in Clang’s integrated assembler and IfConverter. Please file bugs for any issues you run into.
So it seems at some point USE_ASM_GOTO #define logic in glib/gbitlock.c
may be adjusted to include certain clang versions.
As I don't really know anything about this, I figured I'd at least file this issue for consideration from that release notes blurb.