digitalmars.D.bugs - [Issue 8460] New: [ICE] Internal error: toir.c 178
- d-bugmail puremagic.com (37/37) Jul 29 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8460
- d-bugmail puremagic.com (6/6) Jul 29 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8460
- d-bugmail puremagic.com (12/12) Dec 28 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8460
- d-bugmail puremagic.com (17/17) Dec 28 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8460
- d-bugmail puremagic.com (12/12) Jun 09 2013 http://d.puremagic.com/issues/show_bug.cgi?id=8460
http://d.puremagic.com/issues/show_bug.cgi?id=8460 Summary: [ICE] Internal error: toir.c 178 Product: D Version: D2 Platform: x86_64 OS/Version: Mac OS X Status: NEW Severity: critical Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: necroment gmail.com --- Comment #0 from Max Klyga <necroment gmail.com> 2012-07-29 05:16:53 PDT --- DMD 2.059, OS X 10.6.8 Got a reduced test case for this: template C() { alias void C; } class List(T, size_t N) {} auto list(T...)() { return list_impl!(C!T); } List!(L, 0) list_impl(L)() { return null; } auto foldr(alias f, V, T, size_t N)(V, List!(T, N)) {} auto map(alias f, T, size_t N)(List!(T, N)) { foldr!(a => f)(null, list); } void main() { auto l = list; map!(a => a)(l); map!(a => a)(l); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 29 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8460 --- Comment #1 from Max Klyga <necroment gmail.com> 2012-07-29 05:42:12 PDT --- Might be a duplicate of isue 6426 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 29 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8460 SomeDude <lovelydear mailmetrash.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lovelydear mailmetrash.com --- Comment #2 from SomeDude <lovelydear mailmetrash.com> 2012-12-28 06:19:15 PST --- http://dpaste.dzfl.pl/baf6b5df GDC fails with an internal compiler error but LDC 2.060 runs correctly and also seems to be corrected with DMD GIT 2.x UDA beta b -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 28 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8460 Iain Buclaw <ibuclaw ubuntu.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ibuclaw ubuntu.com --- Comment #3 from Iain Buclaw <ibuclaw ubuntu.com> 2012-12-28 13:31:20 PST --- The problem that happens is that the frontend produces two copies of the same map!(a => a)(l). First being: map!(__lambda4,void,0) Second being: map!(__lambda6,void,0) If the frontend were able to detect and correct this collision, the internal compiler errors (in gdc at least) would stop. Regards, Iain. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 28 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8460 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla digitalmars.com Resolution| |WORKSFORME --- Comment #4 from Walter Bright <bugzilla digitalmars.com> 2013-06-09 02:58:35 PDT --- Seems to work fine with DMD 2.064 head. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 09 2013