digitalmars.D.bugs - [Issue 16080] New: Internal error: backend\cgobj.c 3406 when
- via Digitalmars-d-bugs (37/37) May 26 2016 https://issues.dlang.org/show_bug.cgi?id=16080
https://issues.dlang.org/show_bug.cgi?id=16080 Issue ID: 16080 Summary: Internal error: backend\cgobj.c 3406 when building static library Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Severity: major Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: sludwig outerproduct.org Taking the following three modules: a.d: --- struct A() { static immutable A a; } --- b1.d --- import a; --- b2.d --- import a; void test2() { A!() v = A!().a; } --- Running "dmd -lib b1.d b2.d" results in: Internal error: backend\cgobj.c 3406 Changing the order or taking away either b1.d or b2.d from the command line will make the build succeed. --
May 26 2016