aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-data-ref.cc
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@adacore.com>2022-06-21 23:11:02 -0300
committerAlexandre Oliva <oliva@gnu.org>2022-06-21 23:11:02 -0300
commita33dda016e5acf9c6325ce8a72a1b0238130374e (patch)
tree349030e6295e9ff0f8c7aa6558add14ceb816073 /gcc/tree-data-ref.cc
parentf129628e8f261b66a34a9626e1f5b0293548a6a8 (diff)
downloadgcc-a33dda016e5acf9c6325ce8a72a1b0238130374e.zip
gcc-a33dda016e5acf9c6325ce8a72a1b0238130374e.tar.gz
gcc-a33dda016e5acf9c6325ce8a72a1b0238130374e.tar.bz2
libstdc++: eh_globals: gthreads: reset _S_init before deleting key
Clear __eh_globals_init's _S_init in the dtor before deleting the gthread key. This ensures that, in case any code involved in deleting the key interacts with eh_globals, the key that is being deleted won't be used, and the non-thread-specific eh_globals fallback will. for libstdc++-v3/ChangeLog * libsupc++/eh_globals.cc [!_GLIBCXX_HAVE_TLS] (__eh_globals_init::~__eh_globals_init): Clear _S_init first.
Diffstat (limited to 'gcc/tree-data-ref.cc')
0 files changed, 0 insertions, 0 deletions