digitalmars.D.bugs - [Issue 10551] New: [CTFE] Wrong-code on passing dereferenced array pointer by ref 2
- d-bugmail puremagic.com (38/38) Jul 05 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10551
- d-bugmail puremagic.com (10/10) Jul 09 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10551
- d-bugmail puremagic.com (12/12) Jul 21 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10551
- d-bugmail puremagic.com (9/9) Sep 13 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10551
- d-bugmail puremagic.com (10/10) Sep 13 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10551
http://d.puremagic.com/issues/show_bug.cgi?id=10551 Summary: [CTFE] Wrong-code on passing dereferenced array pointer by ref 2 Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: CTFE, wrong-code Severity: major Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: verylonglogin.reg gmail.com 21:23:12 MSD --- Original testcase which was reduced to Issue 10243 still fails. Another reduced testcase: --- void f(ref ubyte n) { n = 1; } void g(ubyte* p) { f(p[0]); } void test() { ubyte[1] arr; //f(*arr.ptr); // now works g(arr.ptr); assert(arr == [1]); } void main() { test(); static assert((test(), true)); } --- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 05 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10551 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla digitalmars.com 12:16:34 PDT --- https://github.com/D-Programming-Language/dmd/pull/2324 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 09 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10551 Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/d9a769ed0cbec4065306349077381e3e021498f3 Fix issue 10551 CTFE array pointer passed by ref IndexExp needs to consider the case where we need a reference https://github.com/D-Programming-Language/dmd/commit/97c624f73bc3b76cff8ae9f21c4dba2767f87cd6 Fix issue 10551 CTFE array pointer passed by ref -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 21 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10551 Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/3686f3fc96f604676156e5f7e487ba1f89d9456b Fix issue 10551 CTFE array pointer passed by ref IndexExp needs to consider the case where we need a reference -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 13 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10551 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Version|D2 |D1 & D2 Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 13 2013