http://d.puremagic.com/issues/show_bug.cgi?id=10693

           Summary: cartesianProduct with over 7 ranges causes segfault at
                    compile time
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Tomoya Tanjo <[email protected]> 2013-07-21 21:50:45 PDT ---
The following code causes segfault at compile time on dmd v2.064-devel-477e42a
on Linux 64bit.

--
// foo.d
import std.algorithm;

void main(string[] args)
{
    int[] a, b, c, d, e, f, g;

    foreach(_; cartesianProduct(a, b, c, d, e, f, g))
    {
    }
}
--

Output:
$ dmd foo.d 
segmentation fault: 11

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

Reply via email to