https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96952
H. Peter Anvin <hpa at zytor dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hpa at zytor dot com --- Comment #10 from H. Peter Anvin <hpa at zytor dot com> --- Is this bug still relevant? RISC-V doesn't even seem to support disabling tls support, and __builtin_thread_pointer() appears to be properly supported. So it would presumably be up to any remaining target that doesn't have __builtin_thread_pointer() (or not in all configurations) to verify that __has_builtin(__builtin_thread_pointer) evaluates to false?