http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54314
--- Comment #33 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-02-04 10:44:19 UTC --- Created attachment 29347 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29347 gcc48-pr54314.patch Ah, I see, solaris and mingw/cygwin have their own assemble_visibility target hooks that warn on their own, so need the same adjustment as the default hook.