Bug 161529
Summary: | Internal compiler error when compiling GNUstep Base. | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jonathan Fischer <jfischer> | ||||
Component: | gcc4 | Assignee: | Jakub Jelinek <jakub> | ||||
Status: | CLOSED UPSTREAM | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4 | CC: | dries, pauljohn | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2005-07-06 20:13:56 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
Jonathan Fischer
2005-06-23 23:20:35 UTC
Created attachment 115908 [details]
Preprocessed source code that causes the internal compiler error.
The following in a .c file is enough to get the ICE (it's a part from gnustep-base): void mframe_decode_return (const char *type, void* buffer, void* retframe) { int size = 1; typedef struct { char val[size]; } block; inline block retframe_block(void *rframe) { __builtin_return (rframe); } *(block*)buffer = retframe_block(retframe); } You get an internal compiler error on: gcc4 (GCC) 4.0.0 20050406 (Red Hat 4.0.0-0.41.fc3) (fc3) gcc (GCC) 4.0.0 20050519 (Red Hat 4.0.0-8) (fc4 x86-64) But not on: gcc33 (GCC) 3.3.4 20040817 (Red Hat Linux 3.3.4-2) (fc3) gcc32 (GCC) 3.2.3 20030422 (Red Hat Linux 3.2.3-6) (fc3) That's a known problem, and actually not a regression, it is enough to make small changes to the source and older GCCs will fail the same way. Nested functions never played well with VLA return types. *** Bug 162782 has been marked as a duplicate of this bug. *** Hello, Jakub! When you closed this as "closed upstream," I thought you meant that gcc in rawhide would be fixed. But I just installed gcc-4.0.1-2 from fedora-devel and I get the same error compiling mframe.m in the Swarm Simulation libraries. We have a copy of mframe.m from GNUstep in there, and that's why you see us traveling along with GNUstep bugs. Can you tell us when/if this bug will be fixed? Closing UPSTREAM doesn't mean necessarily the bug is fixed, but that it is tracked upstream. When it is fixed upstream, the fix will be propagated to rawhide. |