[Bug c++/91086] std namespace symbols can get their visibility degraded

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jul 4 16:24:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91086

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
No. The dependency on the template argument is correct. 

If another shared library defines a class H with the visibility of hidden and
the loader decides to choose the wrong symbol for the shared library then
things go bad.


More information about the Gcc-bugs mailing list