https://issues.dlang.org/show_bug.cgi?id=15176
Issue ID: 15176
Summary: [REG2.069b1] ICE(glue.c):separate compilation with
-inline crash in glue.c
Product: D
Version: D2
Hardware: x86
OS: Windows
Status: NEW
Keywords: ice
Severity: regression
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
This works in 2.068.2.
But we gets an internal error(assertion) in 2.069.0-b1.
COMMAND:
dmd -c -inline test.d
test.d:
import imp;
void test() {
auto r = func();
}
imp.d:
import std.regex;
int func()
{
auto r = regex(r"a");
return 0;
}
ERROR:
Assertion failure: 'fd->semanticRun == PASSsemantic3done' on line 809 in file
'glue.c'
--