From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30026 invoked by alias); 6 Jan 2005 23:05:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 29993 invoked by alias); 6 Jan 2005 23:04:56 -0000 Date: Thu, 06 Jan 2005 23:05:00 -0000 Message-ID: <20050106230456.29992.qmail@sourceware.org> From: "dave at hiauly1 dot hia dot nrc dot ca" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20041226162616.19159.danglin@gcc.gnu.org> References: <20041226162616.19159.danglin@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/19159] [4.0 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info X-Bugzilla-Reason: CC X-SW-Source: 2005-01/txt/msg00773.txt.bz2 List-Id: ------- 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 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