http://d.puremagic.com/issues/show_bug.cgi?id=2603


clugd...@yahoo.com.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid, patch,
                   |                            |wrong-code




------- Comment #1 from clugd...@yahoo.com.au  2009-05-05 16:33 -------
The string literal case doesn't segfault on D2.029, it generates wrong code
instead. But a related case also segfaults (still in ..\backend\cgcs.c 358) on
D1 and D2.

void main() {
   auto c = [1,2,3]-[1,2,3];
}
---
PATCH(e2ir.c, line 1955), in elem *MinExp::toElem(IRState *irs)
just copy code from AddExp::toElem(IRState *irs), changing OPadd into OPmin on
the last line.


-- 

Reply via email to