------- Comment #15 from geoffk at gcc dot gnu dot org 2006-03-09 00:44 ------- Another case is when someone writes
struct a_struct __attribute__((visibility(hidden))); void foo(a_struct &) { } Even though "foo" is not marked hidden it should still be hidden, because it could be overloaded in a different shared object with a parameter which has type 'a_struct &' but is a different type. This is especially important when 'func' is 'operator ==' or similar. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10591