Bug 15176 – [REG2.069.0-b1] ICE(glue.c):separate compilation with -inline crash in glue.c
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-10-08T02:36:00Z
Last change time
2015-10-14T15:05:49Z
Keywords
ice, pull
Assigned to
nobody
Creator
jiki
Comments
Comment #0 by jiki — 2015-10-08T02:36:55Z
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'