[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:23:21 PDT 2017


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

--- Comment #4 from Илья Ярошенко <ilyayaroshenko at gmail.com> ---
(In reply to hsteoh from comment #3)
> 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?

It is all factors together. No one line can be removed to reduce this example.

--


More information about the Digitalmars-d-bugs mailing list