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 c++/34196] [4.3 Regression] uninitialized variable warning in dead exception region



------- Comment #2 from jason at gcc dot gnu dot org  2008-01-14 16:15 -------
This is indeed caused by the patch for 15764.  If unserialize throws, and then
the destructor for the string temporary passed as the argument to unserialize
throws, we would then destroy wt without having constructed it.  Except that we
should call terminate() if the string destructor throws, because we were
unwinding the stack.


-- 


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


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