[Issue 17969] [REG 2.077.0] dmd 2.077.0 crashes when computing mangling symbol for simple program

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 6 17:58:44 UTC 2017


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

ag0aep6g at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice
                 CC|                            |ag0aep6g at gmail.com
            Summary|dmd 2.077.0 crashes when    |[REG 2.077.0] dmd 2.077.0
                   |computing mangling symbol   |crashes when computing
                   |for simple program          |mangling symbol for simple
                   |                            |program
           Severity|critical                    |regression

--- Comment #1 from ag0aep6g at gmail.com ---
Reduced:

----
alias fun = a => MapResult2!(b => b).sum;

int[] e;
static assert(!is(typeof(fun(e)) == void));
void foo() { fun(e); }

struct MapResult2(alias fun)
{
    int[] _input;
}
----

--


More information about the Digitalmars-d-bugs mailing list