[Bug c++/32470] fvisibility=hidden without effect in some casses

2007-06-25 Thread gd at spherenet dot de
--- Comment #2 from gd at spherenet dot de 2007-06-25 23:38 --- Here is the reduced testcase which shows the bug: = namespace std __attribute__((__visibility__("default"))) { template class basic_streambuf { friend void getline(); }; extern template class basic_

[Bug c++/32470] fvisibility=hidden without effect in some casses

2007-06-23 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-06-24 00:53 --- I can reproduce this, I am in the middle of reducing it, it is an interaction between friends, extern templates and visibility attribute on namespaces. -- pinskia at gcc dot gnu dot org changed: What