www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12485] New: [REG2.065] DMD crashes when recursive template expansion

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

           Summary: [REG2.065] DMD crashes when recursive template
                    expansion
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Windows
            Status: NEW
          Keywords: ice
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: kekeniro2 yahoo.co.jp


--- Comment #0 from kekeniro2 yahoo.co.jp 2014-03-27 20:55:20 PDT ---
void dorecursive()
{
    recursive([0]);
}

void recursive(R)(R r)
{
    import std.algorithm;
    recursive( r.filter!(e=>true) );
}

DMD2.064.2 puts an error and terminates normally.
DMD2.065 crashes without error.

ENVIRONMENT: Windows 7 64-bit

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 27 2014
parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12485


Vladimir Panteleev <thecybershadow gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thecybershadow gmail.com


--- Comment #1 from Vladimir Panteleev <thecybershadow gmail.com> 2014-03-28
10:13:00 EET ---
Introduced in https://github.com/D-Programming-Language/dmd/pull/2982

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