https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881
--- Comment #52 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > - Similarly, the !DECL_P was said to not be required, but upon closer > examination, the ELF select_section seems to do that, so I've left it in > since it does look like it is used for some purpose No, it's plain dead code since a VAR_DECL is a DECL_P. > A question: Does gen_rtx_SYMBOL_REF take care of the preceding _ of > _tls_index on 32 bit? Yes, it does.