Comment #0 by ellery-newcomer — 2010-03-12T14:11:11Z
following code causes compiler to segfault:
import std.path;
import std.range;
import std.algorithm;
void main(){
auto f = ["1","2"];
auto d = ["1","2"];
reduce!("a && (fcmp(b.at!(0),b.at!(1)) == 0)")(true, zip(d,f));
}
gdb says offending code is
Dsymbol *s = ti->inst->toAlias();
at expression.c:6268
if that's helpful.
Comment #1 by clugdbug — 2010-03-15T12:17:36Z
This works in DMD2.041. Three segfaults were fixed there,
it's probably a duplicate of one of those.