Bug 483851 - Internal compiler error: in instantiate_type, at cp/class.c:6183
Summary: Internal compiler error: in instantiate_type, at cp/class.c:6183
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc4
Version: 10
Hardware: i686
OS: Linux
low
high
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-02-03 22:01 UTC by Chandrakumar Muthaiah
Modified: 2009-02-11 10:55 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-02-11 10:55:34 UTC
Type: ---
Embargoed:


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


Links
System ID Private Priority Status Summary Last Updated
GNU Compiler Collection 37646 0 None None None Never

Description Chandrakumar Muthaiah 2009-02-03 22:01:07 UTC
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 10:55:34 UTC
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.