This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: ping [PATCH] Fix a deadlock bug in static variable initialization in libsupc++
- From: Jason Merrill <jason at redhat dot com>
- To: "Doug Kwan (éæå)" <dougkwan at google dot com>
- Cc: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Wed, 15 Aug 2007 17:54:43 -0400
- Subject: Re: ping [PATCH] Fix a deadlock bug in static variable initialization in libsupc++
- References: <498552560708021356k5206cebbmc070c183694700e3@mail.gmail.com>
Thanks for fixing this, and sorry about the delay.
It seems like the skip list code is only used to support throwing the
recursive_init_exception. I think I'd prefer to just drop that and let
recursive initialization deadlock (which is allowed under undefined
behavior) rather than add that overhead to the common case.
Jason