Bug 11793 – [ICE] Compiler runs out of memory with trivial program: class with own class member instance
Status
RESOLVED
Resolution
FIXED
Severity
critical
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-12-21T15:49:00Z
Last change time
2013-12-26T07:30:25Z
Keywords
ice, pull
Assigned to
nobody
Creator
bruno.do.medeiros+deebugz
Comments
Comment #0 by bruno.do.medeiros+deebugz — 2013-12-21T15:49:29Z
Compiling this program:
---
class Outer {
int foo;
Outer outer = new Outer();
}
---
Results in "Error: out of memory" (or stack overflow in other source variations).
DMD 2.064.2