Bug 132994

Summary: g++ internal compiler error: Segmentation fault on std::map::insert
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Gerald Weber <geraldweber>
Component: BasesystemAssignee: Michael Matz <matz>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: i686   
OS: SuSE Linux 10.0   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: minimal test code, no external header files needed
preprocessor output

Description Gerald Weber 2005-11-09 17:31:24 UTC
g++ reports an internal compilation error on std::map::insert and segfaults.

Reduced test code and preprocessor output will be attached to this bug report.

Installed gcc is
gcc-4.0.2_20050901-3
Comment 1 Gerald Weber 2005-11-09 17:32:38 UTC
Created attachment 56822 [details]
minimal test code, no external header files needed
Comment 2 Gerald Weber 2005-11-09 17:33:58 UTC
Created attachment 56823 [details]
preprocessor output
Comment 3 Michael Matz 2007-07-27 06:52:31 UTC
gcc41-4.1.2_20061115-5 gives this (correct) error message:
bug-132994_bug.cpp: In member function ‘void something::matrices(std::string, double)’:
bug-132994_bug.cpp:30: error: using ‘typename’ outside of template

I guess that was the place were gcc 4.0 threw an ICE, so this bug is fixed.