Bug 726041 - Segmentation Fault when compiling the code with new features in the C++0x standard
Summary: Segmentation Fault when compiling the code with new features in the C++0x sta...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc4
Version: 15
Hardware: All
OS: All
unspecified
high
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-27 12:02 UTC by Minh Ngo
Modified: 2011-07-27 13:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-27 13:38:00 UTC
Type: ---


Attachments (Terms of Use)
main.cpp (334 bytes, text/x-c++src)
2011-07-27 12:02 UTC, Minh Ngo
no flags Details
out (654.02 KB, application/octet-stream)
2011-07-27 12:05 UTC, Minh Ngo
no flags Details


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

Description Minh Ngo 2011-07-27 12:02:00 UTC
Created attachment 515484 [details]
main.cpp

Description of problem:
Segmentation Fault when compiling the code with new features in the C++0x standard.

Version-Release number of selected component (if applicable): 4.6.0-9


How reproducible:
Source code: main.cpp in attachments
Compiling command: g++ main.cpp -std=c++0x
  
Actual results:
main.cpp: In lambda function:
main.cpp:11:15: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccaAZquH.out file, please attach this to your bugreport.

Comment 1 Minh Ngo 2011-07-27 12:05:13 UTC
Created attachment 515486 [details]
out

Comment 2 Jakub Jelinek 2011-07-27 13:38:00 UTC
That is ICE on invalid, tracking upstream - PR49867.


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