[Issue 15176] New: [REG2.069b1] ICE(glue.c):separate compilation with -inline crash in glue.c
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Wed Oct  7 19:36:55 PDT 2015
    
    
  
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: nobody at puremagic.com
          Reporter: jiki at red.email.ne.jp
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'
--
    
    
More information about the Digitalmars-d-bugs
mailing list