------- Comment #3 from  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.


Reply via email to