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++/10606] uncaught_exception() returns false too early


------- Additional Comments From sebor at roguewave dot com  2004-11-03 00:49 -------
FWIW, if you missed it there was a discussion of this issue
on c++std-core@accu.org, starting with c++std-core-10643. Mike
Miller said he'd open an issue for it. I don't see it on the
list yet but I assume it will be in in the post-Redmond mailing.
AFAIK, he plans to push for the EDG behavior (but not that of
Intel C++). If it's accepted the output of the original test
case would be required to be (note that the value is already
true in the copy ctor):

S::S() [0]: uncaught_exception() = 0
t.cpp(32): throw: uncaught_exception() = 0
S::S(const S& [0]) [1]: uncaught_exception() = 1
S::~S() [0]: uncaught_exception() = 1
S::S(const S& [1]) [2]: uncaught_exception() = 1
t.cpp(36): catch: uncaught_exception() = 0
S::~S() [2]: uncaught_exception() = 1
S::S(const S& [1]) [3]: uncaught_exception() = 1
t.cpp(42): catch: uncaught_exception() = 0
S::~S() [3]: uncaught_exception() = 0
S::~S() [1]: uncaught_exception() = 0

-- 


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


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