This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/10606] uncaught_exception() returns false too early
- From: "sebor at roguewave dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Nov 2004 16:42:15 -0000
- Subject: [Bug libstdc++/10606] uncaught_exception() returns false too early
- References: <20030502212600.10606.sebor@roguewave.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From sebor at roguewave dot com 2004-11-03 16:42 -------
(In reply to comment #10)
I think it's clear that gcc is wrong in not returning true in the initializer
of the exception object in the catch handler (the second invocation of the copy
ctor in the test case). What's not so clear cut is whether it should also do so
during the creation of the temporary exception object (the first invocation of
the copy ctor).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10606