Bug 720161 - G++ Segmentation Fault on Template Function Instantiation with '--std=c++0x'
Summary: G++ Segmentation Fault on Template Function Instantiation with '--std=c++0x'
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-10 13:28 UTC by Matej
Modified: 2011-07-19 15:00 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-19 15:00:30 UTC
Type: ---


Attachments (Terms of Use)
The source that segfaults the C++ compiler. (504 bytes, text/x-c++src)
2011-07-10 13:28 UTC, Matej
no flags Details
Preprocessed version of the above code. (71.41 KB, application/x-bzip)
2011-07-10 13:29 UTC, Matej
no flags Details


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

Description Matej 2011-07-10 13:28:50 UTC
Created attachment 512084 [details]
The source that segfaults the C++ compiler.

Description of problem: I am trying to compile some C++ code (see attachments= and the compiler SEGFAULTS.


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

Kernel: 2.6.38.8-32.fc15.i686

Name        : gcc-c++
Arch        : i686
Version     : 4.6.0
Release     : 9.fc15


How reproducible: Try to compile the attached source file with the following commands:

  g++ --std=c++0x <sourcefile>


Steps to Reproduce:
1. Download the <sourcefile>
2. Run: g++ --std=c++0x <sourcefile>
3. Behold a SEGFAULT.
  
Actual results: A segmentation fault.


Expected results: C++ 0x defined behaviour.


Additional info:

Comment 1 Matej 2011-07-10 13:29:20 UTC
Created attachment 512085 [details]
Preprocessed version of the above code.

Comment 2 Jakub Jelinek 2011-07-19 15:00:30 UTC
Tracking this upstream.


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