Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 59776

Summary: g++: Internal error #20010605
Product: [Retired] Red Hat Raw Hide Reporter: Jeff Bellinghausen <j>
Component: gcc3Assignee: Jakub Jelinek <jakub>
Status: CLOSED DEFERRED QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-02-13 03:19:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
This file crashes the compiler. none

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.