[Bug c++/19159] [4.0 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info

dave at hiauly1 dot hia dot nrc dot ca gcc-bugzilla@gcc.gnu.org
Thu Jan 6 23:05:00 GMT 2005


------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  2005-01-06 23:04 -------
Subject: Re:  [4.0 Regression] Undefined symbol: vtable for __c

> Dave, would you mind testing with this revision to the patch?

I'll try this evening.  It's taken some time but I believe that the
following change broke my original suggested fix to decl2.c
(import_export_decl):

2004-12-16  Nathan Sidwell  <nathan@codesourcery.com>

	PR c++/18905
	* cp-tree.h (integral_constant_value): Declare.
	* call.c (null_ptr_cst_p): Use integral_constant_value, not
	decl_constant_value.
	(convert_like_real): Likewise.
	* class.c (check_bitfield_decl): Likewise.
	* cvt.c (ocp_convert): Likewise.
	(convert): Remove unnecessary decl_constant_value call.
	* decl.c (compute_array_index_type): Use integral_constant_value,
	not decl_constant_value.
	(build_enumerator): Likewise.
	* decl2.c (grokfield): Likewise.
	* init.c (decl_constant_value): Simplify.
	(integral_constant_value): New.
	* pt.c (fold_decl_constant_value): Use integral_constant_value,
	remove subsequent check.
	(tsubst): Use integral_constant_value, not decl_constant_value.
	(tsubst_copy, unify): Likewise.
	* typeck.c (decay_conversion): Likewise.
	(build_compound_expr): Remove unnecessary decl_constant_value
	calls.
	(build_static_cast_1, build_reinterpret_cast_1):
	(convert_for_assignment): Remove comment about not calling
	decl_constant_value.

I know the breakage occurred between 12/16/04 00:00:00 UTC and 12/17/04
00:00:00 UTC.  I was going to try your previous changes prior to the point
of the breakage.  Let me know if you can see why the above might have
affected the situation.

Dave


-- 


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



More information about the Gcc-bugs mailing list