Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
May 14, 2011 [Issue 6001] New: Assertion failure: '....' on line 2680 in file 'interpret.c' | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=6001 Summary: Assertion failure: '....' on line 2680 in file 'interpret.c' Product: D Version: D1 & D2 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: spam@extrawurst.org --- Comment #0 from Stephan Dilly <spam@extrawurst.org> 2011-05-14 09:45:03 PDT --- import std.conv; enum s = to!string(cast(dchar)0); dmd aborts with: Assertion failure: '(newval->op == TOKarrayliteral || newval->op == TOKassocarrayliteral || newval->op == TOKstring || newval->op == TOKslice || newval->op == TOKnull)' on line 2680 in file 'interpret.c' -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
May 14, 2011 [Issue 6001] Assertion failure: '....' on line 2680 in file 'interpret.c' | ||||
---|---|---|---|---|
| ||||
Posted in reply to Stephan Dilly | http://d.puremagic.com/issues/show_bug.cgi?id=6001 kennytm@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kennytm@gmail.com --- Comment #1 from kennytm@gmail.com 2011-05-14 10:44:04 PDT --- Reduced test case: ----------------------- void e(ref int[] s) { // must pass by ref or out int[] r = s; // must alias that parameter s ~= 0; // must mutate 's' or 'r' } bool f() { int[] s; e(s); return false; } enum g = f(); ----------------------- Assertion failed: ((newval->op == TOKarrayliteral || newval->op == TOKassocarrayliteral || newval->op == TOKstring || newval->op == TOKslice || newval->op == TOKnull)), function interpretAssignCommon, file interpret.c, line 2680. Abort trap ----------------------- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
May 19, 2011 [Issue 6001] CTFE: ICE(interpret.c) mutating array passed by ref | ||||
---|---|---|---|---|
| ||||
Posted in reply to Stephan Dilly | http://d.puremagic.com/issues/show_bug.cgi?id=6001 Don <clugdbug@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #2 from Don <clugdbug@yahoo.com.au> 2011-05-18 21:23:48 PDT --- D2: https://github.com/D-Programming-Language/dmd/commit/3bcaf85ed7aa480da34fba5a1fe0d00bc8f7abf5 D1: https://github.com/D-Programming-Language/dmd/commit/669cafeb9fecc98d5f4689f379f638a9661f0b35 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 12, 2011 [Issue 6001] CTFE: ICE(interpret.c) mutating array passed by ref | ||||
---|---|---|---|---|
| ||||
Posted in reply to Stephan Dilly | http://d.puremagic.com/issues/show_bug.cgi?id=6001 Don <clugdbug@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |verylonglogin.reg@gmail.com --- Comment #3 from Don <clugdbug@yahoo.com.au> 2011-06-11 22:32:57 PDT --- *** Issue 6134 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation