Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
November 05, 2011 [Issue 6894] New: [ICE] (backend\cod1.c 1737) with immutable and static | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=6894 Summary: [ICE] (backend\cod1.c 1737) with immutable and static 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 2011-11-05 04:06:51 PDT --- int foo(int[1]) { return 1; } void main() { immutable int[1] array = [0]; static int perms = foo(array); } DMD 2.057head gives: Internal error: backend\cod1.c 1737 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
December 13, 2011 [Issue 6894] [ICE] (backend\cod1.c 1737) with immutable and static | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=6894 yebblies <yebblies@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-invalid-code CC| |yebblies@gmail.com Platform|x86 |All OS/Version|Windows |All --- Comment #1 from yebblies <yebblies@gmail.com> 2011-12-13 16:46:34 EST --- With the current version of 2.057, you get this: assert interpret.c(100) v->ctfeAdrOnStack >= 0 && v->ctfeAdrOnStack < stackPointer() -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 19, 2012 [Issue 6894] ICE(cod1.c) with immutable and static | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=6894 --- Comment #2 from bearophile_hugs@eml.cc 2012-10-19 14:02:41 PDT --- With dmd 2.061alpha it gives: Internal error: backend\cod1.c 1718 - - - - - - - - - Maybe related: bool foo(int[3] data) { return true; } struct Bar(T...) if (foo(T[0])) {} void main() { immutable int[3] array = [1, 2, 3]; Bar!array b; } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 20, 2013 [Issue 6894] ICE(cod1.c) with immutable and static | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=6894 Don <clugdbug@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --- Comment #3 from Don <clugdbug@yahoo.com.au> 2013-06-20 08:12:23 PDT --- Now works in git HEAD -- 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