[Bug c++/104834] visibility=hidden ignored for template instantiations for certain dependent types
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Mar 8 08:27:18 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104834
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed. Note that when not optimizing clang also gets you
1: 0000000000000000 0 FILE LOCAL DEFAULT ABS test.cc
2: 0000000000000000 0 NOTYPE LOCAL DEFAULT 4 GCC_except_table0
3: 0000000000000010 0 NOTYPE LOCAL DEFAULT 4 GCC_except_table11
4: 0000000000000028 0 NOTYPE LOCAL DEFAULT 4 GCC_except_table15
5: 000000000000003c 0 NOTYPE LOCAL DEFAULT 4 GCC_except_table16
6: 0000000000000050 0 NOTYPE LOCAL DEFAULT 4 GCC_except_table18
7: 0000000000000064 0 NOTYPE LOCAL DEFAULT 4 GCC_except_table37
8: 0000000000000078 0 NOTYPE LOCAL DEFAULT 4 GCC_except_table47
69: 0000000000000000 78 FUNC GLOBAL DEFAULT 2 _Z7PubFuncv
73: 0000000000000000 14 FUNC WEAK DEFAULT 21
_ZN3aaa7WrapperI10PublicEnumE3getEv
76: 0000000000000000 14 FUNC WEAK DEFAULT 15
_ZN3aaa7WrapperI12PublicStructE3getEv
116: 0000000000000000 27 FUNC WEAK DEFAULT 121
_ZSt12__get_helperILm0EPNSt6thread6_StateEJSt14default_deleteIS1_EEERT0_RSt11_Tuple_implIXT_EJS5_DpT1_EE
118: 0000000000000000 27 FUNC WEAK DEFAULT 142
_ZSt12__get_helperILm1ESt14default_deleteINSt6thread6_StateEEJEERT0_RSt11_Tuple_implIXT_EJS4_DpT1_EE
120: 0000000000000000 30 FUNC WEAK DEFAULT 118
_ZSt3getILm0EJPNSt6thread6_StateESt14default_deleteIS1_EEERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS9_
122: 0000000000000000 30 FUNC WEAK DEFAULT 139
_ZSt3getILm1EJPNSt6thread6_StateESt14default_deleteIS1_EEERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS9_
123: 0000000000000000 14 FUNC WEAK DEFAULT 134
_ZSt4moveIRPNSt6thread6_StateEEONSt16remove_referenceIT_E4typeEOS5_
128: 0000000000000000 31 FUNC WEAK DEFAULT 156
_ZSteqNSt6thread2idES0_
More information about the Gcc-bugs
mailing list