This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/39366] Memory Leak in Exception Handling



------- Comment #6 from pinskia at gcc dot gnu dot org  2009-03-05 19:43 -------
(In reply to comment #5)
> Yes but this static __thread variable must be freed somehow when the thread
> exits.

They are freed when the thread is destroyed or should be.  The compiler does
not know much about threads here really.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39366


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]