[Issue 13470] New: Crash with final struct containing anonymous enum
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Sep 13 14:12:41 PDT 2014
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 at puremagic.com
Reporter: chss95cs at 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 at 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
--
More information about the Digitalmars-d-bugs
mailing list