http://d.puremagic.com/issues/show_bug.cgi?id=7248
Summary: [CTFE] Stack overflow on using struct filed pointer with address of array element Product: D Version: D1 & D2 Platform: Other OS/Version: Windows Status: NEW Keywords: ice-on-invalid-code Severity: regression Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: verylonglogin....@gmail.com --- Comment #0 from Denis <verylonglogin....@gmail.com> 2012-01-08 14:47:36 MSK --- --- struct S { S* ptr; } int f() { S[1] sarr; sarr[0].ptr = &sarr[0]; sarr[0].ptr = null; // causes Stack overflow S* t = sarr[0].ptr; // Regression: ditto for head, works with 2.057 return 0; } enum e = f(); --- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------