[Bug libstdc++/65343] unexpected exception thrown during destruction of static object in debug mode

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Mar 7 14:46:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65343

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Maybe we want to placement-new the mutexes into a buffer so they are never
destroyed, although on mingw that will show up as leaked resources at program
shutdown (and this is only really a problem on mingw as we don't need to run
any destructor on the mutexes for most targets).



More information about the Gcc-bugs mailing list