This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24580] [3.4/4.0/4.1 Regression] virtual base class cause exception not to be caught
- 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: 16 Nov 2005 20:22:10 -0000
- Subject: [Bug c++/24580] [3.4/4.0/4.1 Regression] virtual base class cause exception not to be caught
- References: <bug-24580-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from jason at gcc dot gnu dot org 2005-11-16 20:22 -------
Subject: Bug 24580
Author: jason
Date: Wed Nov 16 20:22:00 2005
New Revision: 107097
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107097
Log:
PR c++/24580
* method.c (locate_copy): Also use skip_artificial_parms here.
(synthesize_exception_spec): Use CLASS_TYPE_P rather than checking
for RECORD_TYPE.
(locate_ctor): Abort if we fail to find a default constructor.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/method.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24580