https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66146
--- Comment #59 from LIU Hao <lh_mouse at 126 dot com> --- Created attachment 59642 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59642&action=edit proposed patch for MCF thread model Partly fix this issue for the MCF thread model. Partly do some cleanup for the native TLS model: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881#c80