[Issue 5595] Compiler crash on heavy std.algorithm use
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Feb 16 13:14:47 PST 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5595
--- Comment #4 from Don <clugdbug at yahoo.com.au> 2011-02-16 13:12:13 PST ---
Reduced test case shows it involves overload sets of templates. Segfaults as
far back as 2.012. Definitely not a regression.
==== test1.d ===
void bar(D)(D x) {}
==== test2.d ===
void bar(N)(N x) {}
==== test0.d ===
import test1, test2;
template map(fun...)
{
void map(R)(R r) {}
}
void foo(A)(A x) {}
void baz() {
int xxx;
char yyy;
map!(bar)(yyy);
map!(foo)(xxx);
}
-------
dmd test0
<segfault>
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list