Red Hat Bugzilla – Bug 59776
g++: Internal error #20010605
Last modified: 2008-05-01 11:38:01 EDT
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):
Steps to Reproduce:
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:
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 :
class I :
That is, just change the order of the listed parent classes, the compile works fine.
Created attachment 45481 [details]
This file crashes the compiler.
Submitted as PR against CVS g++, this is part of the code I don't know very well.