Bug 205919
Summary: | ICE related to std::vector<std::vector<...> > > | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Hui Li <huil> | ||||||||||
Component: | gcc | Assignee: | Jakub Jelinek <jakub> | ||||||||||
Status: | CLOSED ERRATA | QA Contact: | |||||||||||
Severity: | medium | Docs Contact: | |||||||||||
Priority: | medium | ||||||||||||
Version: | 4.0 | CC: | aoliva | ||||||||||
Target Milestone: | --- | ||||||||||||
Target Release: | --- | ||||||||||||
Hardware: | i386 | ||||||||||||
OS: | Linux | ||||||||||||
Whiteboard: | |||||||||||||
Fixed In Version: | RHSA-2007-0220 | Doc Type: | Bug Fix | ||||||||||
Doc Text: | Story Points: | --- | |||||||||||
Clone Of: | Environment: | ||||||||||||
Last Closed: | 2007-05-01 17:08:09 UTC | Type: | --- | ||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||
Documentation: | --- | CRM: | |||||||||||
Verified Versions: | Category: | --- | |||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||
Embargoed: | |||||||||||||
Attachments: |
|
Description
Hui Li
2006-09-10 05:30:49 UTC
Created attachment 135915 [details]
This is the preprocessed output.
Created attachment 139437 [details]
Reduced testcase
Created attachment 139441 [details]
Patch that fixes the bug
This backport fixes the ICE in both the reduced and the original testcases. I
had to cherry-pick only a few portions of the original patch, and the most
important change (the removal of the obsolete new-type-id) isn't appropriate
for GCC 3.4 because it wasn't obsolete then. I've tried to overcome the
problem with a simplification that I hope will work, but my testing isn't
complete yet and I'm not entirely familiar with the workings of this old
new-type-id construct. I'd appreciate a second pair of g++-familiar eyeballs
on this change.
Created attachment 139556 [details]
Safer patch that fixes the bug
This patch is much safer and fixes the problem just the same.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2007-0220.html |