https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107500
--- Comment #28 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-12 branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: https://gcc.gnu.org/g:d9076dafa12c93e96b349035fb59050151403866 commit r12-10222-gd9076dafa12c93e96b349035fb59050151403866 Author: Jonathan Wakely <jwak...@redhat.com> Date: Thu Nov 3 11:48:57 2022 +0000 libstdc++: Simplify lifetime of eh_globals variable [PR107500] Since this is a trivial type, we probably don't need to do anything to ensure it's still accessible after other static dtors. libstdc++-v3/ChangeLog: PR libstdc++/107500 * libsupc++/eh_globals.cc (eh_globals): Remove immortalizing wrapper. (__cxxabiv1::__cxa_get_globals_fast): Adjust. (__cxxabiv1::__cxa_get_globals): Adjust. (cherry picked from commit 418999fe382c608facf57f96b53a9cb12d2fdd20)