[Issue 884] Segfault in recursive template
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Apr 2 13:30:39 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=884
------- Comment #3 from clugdbug at yahoo.com.au 2009-04-02 15:30 -------
The first of Matti's cases is OK on DMD2.027.
The second is segfaulting in optimize.c,
Expression *expandVar(int result, VarDeclaration *v),
in the line:
Type *tb = v->type->toBasetype();
type may be null. This can trivially be changed into an ICE, rather than a
segfault, not that's much of an improvement.
--
More information about the Digitalmars-d-bugs
mailing list