digitalmars.D.bugs - [Issue 15200] New: [REG2.068.2] ICE(glue.c) when compiling with
- via Digitalmars-d-bugs (38/38) Oct 13 2015 https://issues.dlang.org/show_bug.cgi?id=15200
https://issues.dlang.org/show_bug.cgi?id=15200 Issue ID: 15200 Summary: [REG2.068.2] ICE(glue.c) when compiling with -inline Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Keywords: ice Severity: regression Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: jiki red.email.ne.jp This code works with 2.068.1. But ICE with 2.068.2. dmd -c -inline test.d test.d: import func; void test() { f(); } func.d: import std.algorithm; auto f() // not void { sub([0], false); } void sub(R)(R list, bool b) { foreach (i; list.filter!(delegate(e)=>b) ) { } } OUTPUT: Assertion failure: '!v->csym' on line 1069 in file 'glue.c' NOTE: My actual project does not compile separately(-c), but the problem comes. --
Oct 13 2015