This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34196] [4.3 Regression] uninitialized variable warning in dead exception region
- From: "jason at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jan 2008 16:15:16 -0000
- Subject: [Bug c++/34196] [4.3 Regression] uninitialized variable warning in dead exception region
- References: <bug-34196-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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