http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55958
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2013-01-12 23:28:08 UTC --- I think you should be marking SO1 as default visibility rather than just the member function as default visibility.