www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14214] New: Internal error: backend/go.c 242


          Issue ID: 14214
           Summary: Internal error: backend/go.c 242
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: mike mikewey.eu

Created attachment 1478
  --> https://issues.dlang.org/attachment.cgi?id=1478&action=edit
Test case

With the attached code dmd exits with an internal error, when compiling with
optimizations on.

"dmd -O"

Commenting out line 13. or Making the Enum smaller the error no longer occurs.

Feb 22 2015