Thread overview | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
May 31, 2013 [Issue 10217] New: ICE(root.c) with nested struct.init.tupleof | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=10217 Summary: ICE(root.c) with nested struct.init.tupleof Product: D Version: D1 & D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: clugdbug@yahoo.com.au --- Comment #0 from Don <clugdbug@yahoo.com.au> 2013-05-31 01:33:49 PDT --- This is CTFE version of 9315 ------------- bool bug10217() { struct S { int i; void bar() {} } auto yyy = S.init.tupleof[$-1]; assert(!yyy); return 1; } static assert(bug10217()); --- dmd: root/root.h:462: TYPE*& Array<TYPE>::operator[](size_t) [with TYPE = Expression, size_t = long unsigned int]: Assertion `index < dim' failed. Aborted -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 25, 2013 [Issue 10217] ICE(root.c) with nested struct.init.tupleof in CTFE | ||||
---|---|---|---|---|
| ||||
Posted in reply to Don | http://d.puremagic.com/issues/show_bug.cgi?id=10217 --- Comment #1 from github-bugzilla@puremagic.com 2013-06-24 23:36:04 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/fa616c5fcd9ed755f09e213fdc70a63803a2c075 Fix bug 10217 ICE(root.c) with nested struct.init.tupleof in CTFE CTFE version of bug 9315, almost exactly the same fix. If a nested struct has no initialized hidden pointer, set it to null to match the runtime behaviour. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 25, 2013 [Issue 10217] ICE(root.c) with nested struct.init.tupleof in CTFE | ||||
---|---|---|---|---|
| ||||
Posted in reply to Don | http://d.puremagic.com/issues/show_bug.cgi?id=10217 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla@digitalmars.com --- Comment #2 from Walter Bright <bugzilla@digitalmars.com> 2013-06-24 23:36:29 PDT --- Fixed for D2. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 25, 2013 [Issue 10217] ICE(root.c) with nested struct.init.tupleof in CTFE | ||||
---|---|---|---|---|
| ||||
Posted in reply to Don | http://d.puremagic.com/issues/show_bug.cgi?id=10217 --- Comment #3 from Walter Bright <bugzilla@digitalmars.com> 2013-06-24 23:36:52 PDT --- https://github.com/D-Programming-Language/dmd/pull/2107 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 02, 2013 [Issue 10217] (D1 only) ICE(root.c) with nested struct.init.tupleof in CTFE | ||||
---|---|---|---|---|
| ||||
Posted in reply to Don | http://d.puremagic.com/issues/show_bug.cgi?id=10217 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|D1 & D2 |D1 Summary|ICE(root.c) with nested |(D1 only) ICE(root.c) with |struct.init.tupleof in CTFE |nested struct.init.tupleof | |in CTFE --- Comment #4 from Kenji Hara <k.hara.pg@gmail.com> 2013-10-02 01:16:46 PDT --- Changed to D1 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