Bug 132994 - g++ internal compiler error: Segmentation fault on std::map::insert
Summary: g++ internal compiler error: Segmentation fault on std::map::insert
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Final
Hardware: i686 SuSE Linux 10.0
: P5 - None : Normal
Target Milestone: ---
Assignee: Michael Matz
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-09 17:31 UTC by Gerald Weber
Modified: 2007-07-27 06:52 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
minimal test code, no external header files needed (1.05 KB, text/x-c++src)
2005-11-09 17:32 UTC, Gerald Weber
Details
preprocessor output (795.29 KB, text/x-c++src)
2005-11-09 17:33 UTC, Gerald Weber
Details

Note You need to log in before you can comment on or make changes to this bug.
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.