[Issue 2875] New: ICE(cgcod.c) setting delegate = &Struct.func
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Apr 22 01:15:22 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2875
Summary: ICE(cgcod.c) setting delegate = &Struct.func
Product: D
Version: 2.029
Platform: PC
OS/Version: Windows
Status: NEW
Keywords: ice-on-invalid-code, wrong-code
Severity: normal
Priority: P2
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: clugdbug at yahoo.com.au
struct Foo {
void foo(int x) {}
}
void main() {
void delegate (int) a = &Foo.foo;
}
Internal error: ..\ztc\cgcod.c 1549
Possibly related to bug 1709: it silently compiles wrong code when compiled
with -O. D2 only; D1.042 is OK.
--
More information about the Digitalmars-d-bugs
mailing list