[Issue 15875] New: "d o(int[a]a)(){}" causes DMD segfault

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Apr 4 16:06:07 PDT 2016


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

          Issue ID: 15875
           Summary: "d o(int[a]a)(){}" causes DMD segfault
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: initrd.gz at gmail.com

File contents:

    d o(int[a]a)(){}

Compiling this with `dmd -c -o- /tmp/derr.d` with DMD 2.070.2 on x86-64 Linux
causes DMD to pause for roughly two seconds, then exit with a segfault and no
other output.

Found by American Fuzzy Lop

--


More information about the Digitalmars-d-bugs mailing list