[Issue 17287] [ICE] backend/cgcod.c 255: zero length static arrays

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Mar 30 12:15:32 PDT 2017


https://issues.dlang.org/show_bug.cgi?id=17287

hsteoh at quickfur.ath.cx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hsteoh at quickfur.ath.cx

--- Comment #3 from hsteoh at quickfur.ath.cx ---
I've used zero-length static arrays at the end of structs before, and they
work, for the most part.  I'm surprised having a zero-length member in the
middle of a struct causes an ICE, though. Or is it the zero-length ctor
parameter that's causing the problem?

--


More information about the Digitalmars-d-bugs mailing list