www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11793] New: Out of memory with trivial program: class with own class member instance

reply d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11793

           Summary: Out of memory with trivial program: class with own
                    class member instance
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: bdom.pub+deebugz gmail.com


--- Comment #0 from Bruno Medeiros <bdom.pub+deebugz gmail.com> 2013-12-21
15:49:29 PST ---
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

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 21 2013
next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11793


hsteoh quickfur.ath.cx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice
           Severity|normal                      |critical


-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 22 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11793


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull


--- Comment #1 from Kenji Hara <k.hara.pg gmail.com> 2013-12-22 21:18:20 PST ---
https://github.com/D-Programming-Language/dmd/pull/3013

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 22 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11793



--- Comment #2 from github-bugzilla puremagic.com 2013-12-26 00:33:02 PST ---
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

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 26 2013
prev sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11793


yebblies <yebblies gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |yebblies gmail.com
         Resolution|                            |FIXED


-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 26 2013