Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
September 01, 2010 [Issue 4784] New: [ICE] with count() | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=4784 Summary: [ICE] with count() Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: bearophile_hugs@eml.cc --- Comment #0 from bearophile_hugs@eml.cc 2010-09-01 10:27:12 PDT --- import std.algorithm: count; import std.range: iota; void main() { int[] foo(R)(R m) { count!((a){ return true; })(m); return []; } foo(foo(iota(1))); } DMD 2.048 returns: Internal error: toir.c 190 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
September 23, 2010 [Issue 4784] [ICE] with count() | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=4784 osa8aso@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |osa8aso@gmail.com --- Comment #1 from osa8aso@gmail.com 2010-09-23 09:53:16 PDT --- I got the same ICE (dmd 2.048 on linux) and was able to reduce the problem to a small test case which does not involve any libraries like std.algorithm: struct A( alias P ) { static void a() { void aa() { P(); } } } template B( alias P ) { void b() { A!P a; } } struct C( alias P ) { void c() { B!P.b(); } } void main() { void bar() {} C!bar c; } Compiling this produces the same error: Internal error: toir.c 190 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
November 22, 2010 [Issue 4784] ICE(toir.c) with count() | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=4784 Don <clugdbug@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #2 from Don <clugdbug@yahoo.com.au> 2010-11-22 02:12:16 PST --- *** This issue has been marked as a duplicate of issue 4504 *** -- 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