http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30461
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2010-10-19 00:08:06 UTC --- (In reply to comment #1) > Andrew, can you clarify ? :-) Since the class methods can never be called directly, the DECL_VISIBILITY of that decl could be marked as VISIBILITY_HIDDEN.