[Bug c++/105645] Template specializations are not hidden with fvisibility=hidden

2022-05-18 Thread kndevl at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105645 --- Comment #2 from Karthik Nishanth --- Additional details: When I add a template definition for `Test::encode()` before specialization, it hides the specialized symbol. The snippet below produces `10e9 t int Test::encode<(Test::En

[Bug c++/105645] New: Template specializations are not hidden with fvisibility=hidden

2022-05-18 Thread kndevl at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105645 Bug ID: 105645 Summary: Template specializations are not hidden with fvisibility=hidden Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal