digitalmars.D.bugs - [Issue 1119] New: Internal error: ../ztc/cgcod.c 2190 (template instantiation)
- d-bugmail puremagic.com (19/19) Apr 10 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1119
- d-bugmail puremagic.com (5/7) Apr 10 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1119
- d-bugmail puremagic.com (6/6) Apr 10 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1119
- d-bugmail puremagic.com (23/23) Apr 10 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1119
- d-bugmail puremagic.com (15/15) Apr 10 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1119
- d-bugmail puremagic.com (9/9) Apr 20 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1119
http://d.puremagic.com/issues/show_bug.cgi?id=1119 Summary: Internal error: ../ztc/cgcod.c 2190 (template instantiation) Product: D Version: 1.010 Platform: Other URL: http://www.core-dump.com.hr/vebtree.d OS/Version: Linux Status: NEW Severity: blocker Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: zvrba globalnet.hr At 2007-04-09 I have downloaded the DMD package from the digitalmars web-page. I tried to code a veb-tree with template metaprogramming and ended up with the above-mentioned error. The command-line was /opt/dmd/bin/dmd -c vebtree.d The complete code can be found at the above URL. --
Apr 10 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1119 ------- Comment #1 from zvrba globalnet.hr 2007-04-10 05:55 ------- (In reply to comment #0)The complete code can be found at the above URL.Ah, the URL: http://www.core-dump.com.hr/vebtree.d --
Apr 10 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1119 zvrba globalnet.hr changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|blocker |critical --
Apr 10 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1119 deewiant gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code OS/Version|Linux |All ------- Comment #2 from deewiant gmail.com 2007-04-10 12:38 ------- Reduced version: import std.intrinsic; private class Node(uint level, uint nlog) { Node!(level-1, nlog/2) bottom; } private class Node(uint level : 0, uint nlog : 5) { uint leaf; uint min() { return leaf == 0 ? 0 : bsf(leaf); } } alias Node!(2, 20) tree; --
Apr 10 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1119 ------- Comment #3 from onlystupidspamhere yahoo.se 2007-04-10 13:35 ------- (In reply to comment #2) Hehe, I created a bit more reduced version on #d today, but forgot to post it here. Here it is: import std.intrinsic; class Node(int l) { Node!(l-1) b; } class Node(int l : 0) { uint leaf = 0; int m() { return leaf ? 0 : bsf(leaf); } } alias Node!(1) tree; --
Apr 10 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1119 bugzilla digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #4 from bugzilla digitalmars.com 2007-04-20 13:19 ------- Fixed DMD 1.013 --
Apr 20 2007