]> gcc.gnu.org Git - gcc.git/commit
libstdc++: Simplify lifetime of eh_globals variable [PR107500]
authorJonathan Wakely <jwakely@redhat.com>
Thu, 3 Nov 2022 11:48:57 +0000 (11:48 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Mon, 18 Mar 2024 10:49:49 +0000 (10:49 +0000)
commitd9076dafa12c93e96b349035fb59050151403866
treed8c5a934636e901efe1a511250b5b3c8515d920b
parentfbdeeb1604d52a8ece8631f70ecd64d925d31741
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)
libstdc++-v3/libsupc++/eh_globals.cc
This page took 0.060881 seconds and 6 git commands to generate.