public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/16980] New: internal compiler error: in cp_expr_size, at cp/cp-lang.c:330
@ 2004-08-11 15:20 yanliu at ca dot ibm dot com
  2004-08-11 15:22 ` [Bug c++/16980] " yanliu at ca dot ibm dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: yanliu at ca dot ibm dot com @ 2004-08-11 15:20 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c++/16980] internal compiler error: in cp_expr_size, at cp/cp-lang.c:330
  2004-08-11 15:20 [Bug c++/16980] New: internal compiler error: in cp_expr_size, at cp/cp-lang.c:330 yanliu at ca dot ibm dot com
@ 2004-08-11 15:22 ` yanliu at ca dot ibm dot com
  2004-08-11 15:43 ` [Bug c++/16980] [3.5 Regression] " pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: yanliu at ca dot ibm dot com @ 2004-08-11 15:22 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From yanliu at ca dot ibm dot com  2004-08-11 15:22 -------
Created an attachment (id=6914)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6914&action=view)
object model testcase

Steps to reproduce the problem:
g++ t.C

-- 


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c++/16980] [3.5 Regression] internal compiler error: in cp_expr_size, at cp/cp-lang.c:330
  2004-08-11 15:20 [Bug c++/16980] New: internal compiler error: in cp_expr_size, at cp/cp-lang.c:330 yanliu at ca dot ibm dot com
  2004-08-11 15:22 ` [Bug c++/16980] " yanliu at ca dot ibm dot com
@ 2004-08-11 15:43 ` pinskia at gcc dot gnu dot org
  2004-08-11 17:40 ` bangerth at dealii dot org
  2004-08-11 17:50 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-11 15:43 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-08-11 15:43 -------
Already fixed in later versions of 3.5.0.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
           Keywords|                            |ice-on-valid-code
         Resolution|                            |FIXED
            Summary|internal compiler error: in |[3.5 Regression] internal
                   |cp_expr_size, at cp/cp-     |compiler error: in
                   |lang.c:330                  |cp_expr_size, at cp/cp-
                   |                            |lang.c:330
   Target Milestone|---                         |3.5.0


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c++/16980] [3.5 Regression] internal compiler error: in cp_expr_size, at cp/cp-lang.c:330
  2004-08-11 15:20 [Bug c++/16980] New: internal compiler error: in cp_expr_size, at cp/cp-lang.c:330 yanliu at ca dot ibm dot com
  2004-08-11 15:22 ` [Bug c++/16980] " yanliu at ca dot ibm dot com
  2004-08-11 15:43 ` [Bug c++/16980] [3.5 Regression] " pinskia at gcc dot gnu dot org
@ 2004-08-11 17:40 ` bangerth at dealii dot org
  2004-08-11 17:50 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: bangerth at dealii dot org @ 2004-08-11 17:40 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bangerth at dealii dot org  2004-08-11 17:40 -------
Hi Yan, 
how nice to meet you on this forum as well :-) 
 
In any case, it is indeed fixed, and also works on the 3.4 branch with a 
checkout from yesterday. The messages I get are the same that you show 
for 3.3. 
 
Wolfgang 

-- 


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c++/16980] [3.5 Regression] internal compiler error: in cp_expr_size, at cp/cp-lang.c:330
  2004-08-11 15:20 [Bug c++/16980] New: internal compiler error: in cp_expr_size, at cp/cp-lang.c:330 yanliu at ca dot ibm dot com
                   ` (2 preceding siblings ...)
  2004-08-11 17:40 ` bangerth at dealii dot org
@ 2004-08-11 17:50 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-11 17:50 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-08-11 17:50 -------
I should note that "gcc version 3.5.0-tree-ssa 20040321 (merged 20040529) (Apple Computer, Inc. 
build 1768)" is not the latest Apple 3.5.0 gcc, but gcc 3.5.0 build 1771 is, you can check it out on the 
FSF cvs with the tag apple-gcc-1771.

-- 


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-08-11 17:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-11 15:20 [Bug c++/16980] New: internal compiler error: in cp_expr_size, at cp/cp-lang.c:330 yanliu at ca dot ibm dot com
2004-08-11 15:22 ` [Bug c++/16980] " yanliu at ca dot ibm dot com
2004-08-11 15:43 ` [Bug c++/16980] [3.5 Regression] " pinskia at gcc dot gnu dot org
2004-08-11 17:40 ` bangerth at dealii dot org
2004-08-11 17:50 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).