https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77315
Bug ID: 77315 Summary: emit DW_OP_form_tls_address Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: tromey at gcc dot gnu.org Target Milestone: --- Currently gcc generally emits DW_OP_GNU_push_tls_address for the location of a thread-local. However, it seems to me that the standard DW_OP_form_tls_address is equivalent but slightly better due to being standard. Note though that gdb generally doesn't implement the standard form, so that would have to be done first. See https://sourceware.org/bugzilla/show_bug.cgi?id=11616