https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103291
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[11/12 Regression] |[11/12 Regression] #pragma |visibility is lost for |gcc visibility is lost for |external decls declared |external decls declared |inside a function |inside a function --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The attribute still works.