https://issues.dlang.org/show_bug.cgi?id=19548
Issue ID: 19548 Summary: [REG 2.080] Missing reference to _D6object__T14__switch_errorZQrFNaNbNiNfAyamZv Product: D Version: D2 Hardware: All OS: Linux Status: NEW Keywords: link-failure Severity: regression Priority: P1 Component: dmd Assignee: nob...@puremagic.com Reporter: marco.le...@gmx.de Since 2.080 the following code, compiled in debug mode, doesn't link anymore: import std.stdio, std.bitmanip; void main() { int i; final switch (i) { case 0: {} } writef(""); } The output from the linker (bfd or gold) is: function _Dmain: error: undefined reference to '_D6object__T14__switch_errorZQrFNaNbNiNfAyamZv' Compiling the same program with -allinst, -release or -O works. --