From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9264 invoked by alias); 11 Aug 2004 15:20:02 -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 9256 invoked by uid 48); 11 Aug 2004 15:20:01 -0000 Date: Wed, 11 Aug 2004 15:20:00 -0000 From: "yanliu at ca dot ibm dot com" To: gcc-bugs@gcc.gnu.org Message-ID: <20040811152000.16980.yanliu@ca.ibm.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/16980] New: internal compiler error: in cp_expr_size, at cp/cp-lang.c:330 X-Bugzilla-Reason: CC X-SW-Source: 2004-08/txt/msg00919.txt.bz2 List-Id: This is a regression from g++3.3. With g++3.3, the testcase passed, but with g++ 3.5, it failed with internal compiler error: t.C:11: warning: direct base `c4' inaccessible in `c15' due to ambiguity t.C:19: warning: `v3' initialized and declared `extern' t.C: In function `void __static_initialization_and_destruction_0(int, int)':internal compiler error: in cp_expr_size, at cp/cp-lang.c:330. I am using g++ 3.5 version on powerpc apple MacOS system. Using gcc3.3, I am getting this message without compiler abend. t.C:11: warning: direct base `c4' inaccessible in `c15' due to ambiguity t.C:19: warning: `v3' initialized and declared `extern' ld: Undefined symbols: _main __ZN3c17C1Ev ___gxx_personality_v0 -- Summary: internal compiler error: in cp_expr_size, at cp/cp- lang.c:330 Product: gcc Version: 3.5.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: yanliu at ca dot ibm dot com CC: gcc-bugs at gcc dot gnu dot org GCC host triplet: gcc version 3.5.0-tree-ssa 20040321 (merged 20040529) (Apple Com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16980