www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13470] New: Crash with final struct containing anonymous enum


          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:

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