digitalmars.D.bugs - [Issue 2603] New: ICE on subtracting string literals
- d-bugmail puremagic.com (20/20) Jan 22 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2603
- d-bugmail puremagic.com (18/18) May 05 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2603
- d-bugmail puremagic.com (11/11) Jul 09 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2603
http://d.puremagic.com/issues/show_bug.cgi?id=2603 Summary: ICE on subtracting string literals Product: D Version: 1.033 Platform: PC OS/Version: Linux Status: NEW Keywords: ice-on-invalid-code Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: tomas famolsen.dk module foobar; void main() { char[] c = "a" - "b"; } // $ dmd foobar.d // Internal error: ../ztc/cgcs.c 358 --
Jan 22 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2603 clugdbug yahoo.com.au changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |accepts-invalid, patch, | |wrong-code 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. --
May 05 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2603 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED 02:47:36 PDT --- Fixed dmd 1.046 and 2.031 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 09 2009