This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/16980] New: internal compiler error: in cp_expr_size, at cp/cp-lang.c:330


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]