www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 21696] New: DMD 2.095.1 Compilation Crash

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

          Issue ID: 21696
           Summary: DMD 2.095.1 Compilation Crash
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: cspencer economicmodeling.com

Created attachment 1821
  --> https://issues.dlang.org/attachment.cgi?id=1821&action=edit
File that fails to compile.

Running `dmd crash.d` dies with the following:

```
tym = 0x27
[1]    625427 illegal hardware instruction (core dumped)
```

This example compiles with 2.091.1 but fails with 2.094.1 and 2.095.1.

--
Mar 09 2021