digitalmars.D.bugs - [Issue 13470] New: Crash with final struct containing anonymous enum
- via Digitalmars-d-bugs (27/27) Sep 13 2014 https://issues.dlang.org/show_bug.cgi?id=13470
https://issues.dlang.org/show_bug.cgi?id=13470 Issue ID: 13470 Summary: Crash with final struct containing anonymous enum Product: D Version: unspecified Hardware: x86_64 OS: Linux Status: NEW Severity: minor Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: chss95cs gmail.com The only changes I had made between the last build and the one that prompted the crash was the addition of a new struct type The structure definition: http://pastebin.com/bLEDG4KJ The crash report: radverbial radverbial-M68MT-D3:~/dansworld$ ./build.sh dmd: struct.c:419: static void AggregateDeclaration::alignmember(structalign_t, unsigned int, unsigned int*): Assertion `alignment > 0 && !(alignment & (alignment - 1))' failed. ./build.sh: line 6: 8068 Aborted (core dumped) dmd main_o.d templates.d engine/dialogue.d engine/base.d engine/entity.d engine/entities.d engine/area.d engine/areas.d engine/world_o.d engine/item.d engine/items.d basic_types.d system_o.d -release -O -inline --
Sep 13 2014