digitalmars.D.bugs - [Issue 13819] New: Internal error: backend\cg87.c 1495 with mixin,
- via Digitalmars-d-bugs (29/29) Dec 04 2014 https://issues.dlang.org/show_bug.cgi?id=13819
https://issues.dlang.org/show_bug.cgi?id=13819 Issue ID: 13819 Summary: Internal error: backend\cg87.c 1495 with mixin, delegate and -O Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: major Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: aliloko gmail.com With DMD 2.066.1, the following program crash DMD with -O. ------------- reduced.d --------------- void heh() { enum fun = "x % 2 != 0"; (int a) { double x = a; mixin("return " ~ fun ~ ";"); }( 4 ); } --------------------------------------- $ dmd -O reduced.d Internal error: backend\cg87.c 1495 --
Dec 04 2014