This is the mail archive of the
gcc-regression@gcc.gnu.org
mailing list for the GCC project.
Re: 3 GCC regressions, 0 new, with your patch on 2002-10-30T05:35:13Z.
- From: Geoff Keating <geoffk at geoffk dot org>
- To: gcc-regression at gcc dot gnu dot org, mark at codesourcery dot com
- Date: 30 Oct 2002 08:46:19 -0800
- Subject: Re: 3 GCC regressions, 0 new, with your patch on 2002-10-30T05:35:13Z.
- References: <200210301335.g9UDZbX2013352@devtools1.apple.com>
Hi Mark,
"GCC regression checker" <geoffk@apple.com> writes:
> native g++.sum g++.abi/vbase4.C
> native g++.sum g++.mike/p6610b.C
> native g++.sum g++.other/vbase5.C
I bet this is caused by:
+2002-10-25 Mark Mitchell <mark@codesourcery.com>
+
+ * call.c (build_over_call): Use DECL_CONTEXT, not
+ DECL_VIRTUAL_CONTEXT.
+ * class.c (modify_vtable_entry): Don't mess with
+ DECL_VIRTUAL_CONTEXT.
+ (set_vindex): Remove.
+ (set_primary_base): Remove vfuns_p parameter.
+ (determine_primary_base): Likewise.
+ (modify_all_vtables): Likewise.
+ (layout_class_type): Likewise. Adjust calls to other functions
+ accordingly.
+ (finish_struct_1): Adjust calls to modified functions. Set
+ DECL_VINDEX here.
+ * cp-tree.h (lang_type_class): Remove vsize.
+ (CLASSTYPE_VSIZE): Remove.
+ (lang_decl): Remove thunks.
+ (DECL_THUNKS): Adjust.
+ (DECL_VIRTUAL_CONTEXT): Remove.
+ (duplicate_decls): Don't copy it.
+ * pt.c (build_template_decl): Don't set it.
+ (tsubst_decl): Likewise.
+ * typeck.c (expand_ptrmemfunc_cst): Don't use it.
+
+ * class.c (build_vtbl_initializer): Don't use build_vtable_entry.
+ (build_vtable_entry): Remove.
+ * cp-tree.h (BINFO_VIRTUALS): Expand documentation.
+ (lang_decl): Add thunks.
+ (DECL_THUNKS): New macro.
+ * decl.c (duplicate_decls): Copy it.
+ * method.c (make_thunk): Simplify, and add thunks to DECL_THUNKS.
+ * semantics.c (emit_associated_thunks): Simplify.
The symptom in all three failures is:
/Users/regress/tbox/cvs-gcc/gcc/gcc/testsuite/g++.old-deja/g++.abi/vbase4.C:109: internal compiler error: in make_thunk, at cp/method.c:312
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
--
- Geoffrey Keating <geoffk@geoffk.org>