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
Comment #1 by k.hara.pg — 2013-12-22T21:18:20Z
Comment #2 by github-bugzilla — 2013-12-26T00:33:02Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/07954f1c8f867028ae1d1fc2144bdb9226d2f937 fix Issue 11793 - [ICE] Compiler runs out of memory with trivial program: class with own class member instance https://github.com/D-Programming-Language/dmd/commit/5fe8b561aa612cef58d88992f65251d0aff84385 Merge pull request #3013 from 9rnsr/fix11793 Issue 11793 - [ICE] Compiler runs out of memory with trivial program: class with own class member instance