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++/13944] [3.3/3.4/3.5 Regression] exception in constructor of a class to be thrown is not caught


------- Additional Comments From jason at redhat dot com  2004-02-16 18:22 -------
Subject: Re:  [3.3/3.4/3.5] exception in constructor of a
 class to be thrown is not caught

EDG performs this same optimization, but they seem to have made a different
choice as to whether or not the call which creates the object should be
allowed to throw; it seems impossible to construct a testcase which will
terminate due to a throw during the initialization of the exception object.
Their choice, which the submitter of this bug also expects, seems
reasonable to me.

Jason


-- 


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


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