https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47334
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|lto |middle-end See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=54314 --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I wonder if we should emit the warning for visibility not being supported in a different location rather than while creating the assembly in varasm.c. The C++ front-end sets DECL_VISIBILITY hidden even on non-user code.