Ticket #587 (Fixed)Thu Feb 23 21:35:52 UTC 2023
cc5.90: Designated initialisers - a different compiler fault than before?
Reported by: | Stuart Swales (8827) | Severity: | Normal |
Part: | RISC OS: C/C++ toolchain | Release: | |
Milestone: | Status | Fixed |
Details by Stuart Swales (8827):
I have some code that I recently modified in Fireworkz (over on Windows/MSVS 2019) that causes a new-to-me compiler barf on Norcroft.
“Fatal internal error: skipdata len/dlen clash”
This occurs if an initialised member comes after another ‘more complex’ member that is also initialised (doesn’t matter whether by inline function or external). No anonymous structs or unions in this case.
There are other interesting things that the attached source exhibits – please read the comments.
Changelog:
Modified by Stuart Swales (8827) Thu, February 23 2023 - 21:36:14 GMT
- Attachment added: desinibarf.c
Modified by Sprow (202) Fri, March 01 2024 - 07:33:16 GMT
- Status changed from Open to Fixed
Fixed in cc 5.92