Thread overview |
---|
June 09, 2011 [Issue 6131] New: [CTFE] Simple call of struct methods causes "Stack overflow" or hanging-up | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=6131 Summary: [CTFE] Simple call of struct methods causes "Stack overflow" or hanging-up Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: major Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: verylonglogin.reg@gmail.com --- Comment #0 from Denis <verylonglogin.reg@gmail.com> 2011-06-09 02:47:55 PDT --- Created an attachment (id=994) Bug testcase Source code in an attachment -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 10, 2011 [Issue 6131] [CTFE] Simple call of struct methods causes "Stack overflow" or hanging-up | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis | http://d.puremagic.com/issues/show_bug.cgi?id=6131 Don <clugdbug@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |clugdbug@yahoo.com.au --- Comment #1 from Don <clugdbug@yahoo.com.au> 2011-06-09 21:27:12 PDT --- This is fixed in git master. Probably a dup of an bug which has already been fixed, but I haven't worked out which one. This is the test case: -- struct S2 { int e; void f2() { //e = 0; //uncomment to hang-up dmd v2.053 int t = e; //uncomment to "Stack overflow" dmd v2.053 } } struct S1 { S2 s2; void f1() { s2.f2(); } } int f() { S1 s1; s1.f1(); return 0; } const t = f(); -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 12, 2011 [Issue 6131] [CTFE] Simple call of struct methods causes "Stack overflow" or hanging-up | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis | http://d.puremagic.com/issues/show_bug.cgi?id=6131 Don <clugdbug@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #2 from Don <clugdbug@yahoo.com.au> 2011-06-11 22:33:41 PDT --- Already fixed in git master *** This issue has been marked as a duplicate of issue 5258 *** -- 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