https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96347
Iain Buclaw <ibuclaw at gdcproject dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #48953|0 |1 is obsolete| | --- Comment #5 from Iain Buclaw <ibuclaw at gdcproject dot org> --- Created attachment 49009 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49009&action=edit favour tls_mem_loc_descriptor Patch leaves delegitimize alone and instead plugs the warning in dwarf2out.c. If MEM is a TLS reference, then try tls_mem_loc_descriptor() first. No observed changes in either assembly or debug as a result of the patch.