Bug 59776 - g++: Internal error #20010605
Summary: g++: Internal error #20010605
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: gcc3
Version: 1.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-02-13 03:18 UTC by Jeff Bellinghausen
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-02-13 03:19:09 UTC
Embargoed:


Attachments (Terms of Use)
This file crashes the compiler. (340 bytes, text/plain)
2002-02-13 03:19 UTC, Jeff Bellinghausen
no flags Details

Description Jeff Bellinghausen 2002-02-13 03:18:11 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010914

Description of problem:
The simple attached code causes an internal compiler error in gcc version 3.1
20011127 (Red Hat Linux Rawhide 3.1-0.10)

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.Save file
2.type g++ -c prep2.C
3.See the error
	

Actual Results:  When I compile the attached code, the compiler reports:

prep2.C:47: Internal error #20010605.
prep2.C:47: Internal compiler error in build_secondary_vtable, at cp/class.c:
   672
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.


Expected Results:  The source should have compiled. If I change almost anything
in the file, the code compiles fine. If I change

class I :
  public G,
  public H 
{
};

To:

class I :
  public H,
  public G 
{
};

That is, just change the order of the listed parent classes, the compile works fine.

Additional info:

Comment 1 Jeff Bellinghausen 2002-02-13 03:19:04 UTC
Created attachment 45481 [details]
This file crashes the compiler.

Comment 2 Jakub Jelinek 2002-02-13 19:58:09 UTC
Submitted as PR against CVS g++, this is part of the code I don't know very well.


Note You need to log in before you can comment on or make changes to this bug.