| Summary: | G++ Segmentation Fault on Template Function Instantiation with '--std=c++0x' | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Matej <matej.urbas> | ||||||
| Component: | gcc | Assignee: | Jakub Jelinek <jakub> | ||||||
| Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 15 | CC: | jakub | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2011-07-19 15:00:30 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Attachments: |
|
||||||||
Created attachment 512085 [details]
Preprocessed version of the above code.
Tracking this upstream. |
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: