https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104807
--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: https://gcc.gnu.org/g:4cb935cb69f12088975fa7f6907c6ace0580e2dd commit r12-7522-g4cb935cb69f12088975fa7f6907c6ace0580e2dd Author: Jonathan Wakely <jwak...@redhat.com> Date: Mon Mar 7 15:07:05 2022 +0000 libstdc++: Use visibility pragmas instead of attributes [PR104807] The _GLIBCXX_PSEUDO_VISIBILITY macro isn't defined until after including os_defines.h, so we can't use _GLIBCXX_VISIBILITY early in c++config. Replace the uses of that macro with #pragma visibility push(default) instead. libstdc++-v3/ChangeLog: PR libstdc++/104807 * include/bits/c++config (__terminate, __glibcxx_assert_fail): Replace _GLIBCXX_VISIBILITY on function with visibility pragma. (__is_constant_evaluated): Add visibility pragma.