Thread overview
[Issue 4130] DMD crashes if it has to compile a project which is too complex
Feb 04, 2014
yebblies
Feb 04, 2014
yebblies
January 11, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=4130


Andrei Alexandrescu <andrei@erdani.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrei@erdani.com


--- Comment #16 from Andrei Alexandrescu <andrei@erdani.com> 2014-01-10 17:52:59 PST ---
We can't repro this. OK to close?

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 04, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=4130


yebblies <yebblies@gmail.com> changed:

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


--- Comment #17 from yebblies <yebblies@gmail.com> 2014-02-05 01:30:49 EST ---
I can't repro this even with > 2^^16 comdat symbols.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 04, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=4130


yebblies <yebblies@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
            Version|D1                          |D1 & D2
         Resolution|WORKSFORME                  |


--- Comment #18 from yebblies <yebblies@gmail.com> 2014-02-05 01:58:18 EST ---
I take that back, this crashes dmd (although it might be a different bug)

void fun(size_t a)() {}

string gen(size_t limit)
{
    string s;
    foreach(i; 0..limit)
    {
        s ~= "fun!__LINE__();\n";
    }
    return s;
}

void main()
{
    mixin(gen(2^^16));
}

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