Bug 483851 - Internal compiler error: in instantiate_type, at cp/class.c:6183
Internal compiler error: in instantiate_type, at cp/class.c:6183
Product: Fedora
Classification: Fedora
Component: gcc4 (Show other bugs)
i686 Linux
low Severity high
: ---
: ---
Assigned To: Jakub Jelinek
Depends On:
  Show dependency treegraph
Reported: 2009-02-03 17:01 EST by Chandrakumar Muthaiah
Modified: 2009-02-11 05:55 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
g++ (GCC) 4.3.2 20081105 (Red Hat 4.3.2-7)
Story Points: ---
Clone Of:
Last Closed: 2009-02-11 05:55:34 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
The intermediate file from g++ (468.55 KB, text/plain)
2009-02-03 17:01 EST, Chandrakumar Muthaiah
no flags Details

External Trackers
Tracker ID Priority Status Summary Last Updated
GNU Compiler Collection 37646 None None None Never

  None (edit)
Description Chandrakumar Muthaiah 2009-02-03 17:01:07 EST
Created attachment 330787 [details]
The intermediate file from g++ 

Description of problem:

g++ bails out when trying to compile the atatched c++ program

Version-Release number of selected component (if applicable): g++ (GCC) 4.3.2 20081105 (Red Hat 4.3.2-7)

How reproducible:

Steps to Reproduce:
1. On Fedora 10 installation using g++ 4.3.2
2. g++ -c -pedantic -Os -o main.o main.cpp
Actual results:
 main.cpp: In member function ‘rbnode* rbtree::find(int)’:
 main.cpp:154: internal compiler error: in instantiate_type, at cp/class.c:6183
 Please submit a full bug report,
 with preprocessed source if appropriate.
 See <http://bugzilla.redhat.com/bugzilla> for instructions.
 Preprocessed source stored into /tmp/ccaKK7Ob.out file, please attach this to your bugreport.
make: *** [main.o] Error 1

Expected results:
Error with different message
error: argument of type ‘rbnode* (rbnode::)()’ does not match ‘rbnode*’

Additional info:
Comment 1 Jakub Jelinek 2009-02-11 05:55:34 EST
This is http://gcc.gnu.org/PR37646, has been fixed in gcc 4.4 and on the 4.3 branch as well.  As this is an ice-on-invalid, it isn't very high priority.
It will be either fixed in F10 if gcc is ever upgraded there, or just in Fedora 11+.

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