Bug 904652
| Summary: | g++ segmentation fault with tricky templates | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Dan Stahlke <dan> | ||||
| Component: | gcc | Assignee: | Jakub Jelinek <jakub> | ||||
| Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 18 | CC: | jakub, law | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2013-01-31 13:58:17 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
This also crashes clang++. Should I file a second bug report for that, or is it likely to be a common cause? Tracking upstream, instead of tricky I'd say invalid, but let's wait for Jason's confirmation. |
Created attachment 688161 [details] Compiling this with g++ gives a segmentation fault. Description of problem: Compiling the attached program causes g++ to segfault. Version-Release number of selected component (if applicable): g++ (GCC) 4.7.2 20121109 (Red Hat 4.7.2-8) How reproducible: g++ gcc-segfault.cc Steps to Reproduce: 1. Run "g++ gcc-segfault.cc" 2. 3. Actual results: g++: internal compiler error: Segmentation fault (program cc1plus) Expected results: No segfault. Additional info: