Ticket #500 (Fixed)Fri Nov 27 15:32:38 UTC 2020
cc 5.85: Anonymous struct/union + designated initialser = internal compiler error
Reported by: | Jeffrey Lee (213) | Severity: | Normal |
Part: | RISC OS: C/C++ toolchain | Release: | |
Milestone: | Status | Fixed |
Details by Jeffrey Lee (213):
Attempting to use designated initialisers with nested anonymous structs & unions reults in an internal compiler error:
<pre>
*cc one.c
Norcroft RISC OS ARM C vsn 5.85 [22 Oct 2020]
“c.one”, line 19: Fatal internal error: readbackdcI
Internal inconsistency: either resource shortage or compiler fault. If you
cannot alter your program to avoid this failure, please contact your supplier
</pre>
Changelog:
Modified by Jeffrey Lee (213) Fri, November 27 2020 - 15:32:58 GMT
- Attachment added: one
Modified by Sprow (202) Wed, September 18 2024 - 21:36:49 GMT
- Status changed from Open to Fixed
Empirically, this is fixed in cc 5.93