Bug 223576
Summary: | internal compiler error: in copy_to_mode_reg, at explow.c:577 | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Sorav Bansal <bsorav> | ||||
Component: | gcc4 | Assignee: | Jakub Jelinek <jakub> | ||||
Status: | CLOSED WONTFIX | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4.0 | CC: | aoliva | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2012-06-20 13:27:35 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
Sorav Bansal
2007-01-20 02:38:33 UTC
Created attachment 146052 [details]
Preprocessed source emitted by gcc
Simplified testcase: struct A { int a:16; int b:8; bool operator==(A const x) const { return (this->a == x.a && this->b == x.b); } }; const A c[] = { {0x08, (0x3<<5)}, {0x09, (0x3<<5)}, {0x0a, (0x3<<5)}, {0x0b, (0x3<<5)} }; const int d = sizeof (c) / sizeof (A); bool foo (A const x) { for (int i = 0; i < d; i++) if (c[i] == x) return true; return false; } Fails even with current FC6/RHEL5 4.1.1-RH GCC, doesn't fail with GCC trunk. Patch posted at http://gcc.gnu.org/ml/gcc-patches/2007-02/msg01126.html Thank you for submitting this issue for consideration in Red Hat Enterprise Linux. The release for which you requested us to review is now End of Life. Please See https://access.redhat.com/support/policy/updates/errata/ If you would like Red Hat to re-consider your feature request for an active release, please re-open the request via appropriate support channels and provide additional supporting details about the importance of this issue. |