[Issue 20062] New: Segfault

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jul 18 01:53:07 UTC 2019


          Issue ID: 20062
           Summary: Segfault
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: alex at sunopti.com

void main()
        int g;

        struct A
                bool a()
                        return (g == 0);
        auto b = new A[1];

Segfaults at "return (g == 0);"
on "gdc (Debian 8.3.0-6) 8.3.0"
and on dlang.org online compiler, indicating a front end issue, so I reported
it for dmd.


More information about the Digitalmars-d-bugs mailing list