[Issue 1928] New: dmd SEGV with too many template parameters

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Mar 18 11:20:40 PDT 2008


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

           Summary: dmd SEGV with too many template parameters
           Product: D
           Version: 2.012
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: webmaster at villagersonline.com


This one is similar to 1927, but I ran dmd with gdb and it looks to me like it
hits in a different place.

dmd 2.012 Linux (Fedora Core 6 x86_64)

BEGIN CODE
void foo(alias A1, alias A2)() {}

void bar(alias E)()
{
  foo!(E, bar!(foo!(E,E), foo!(E,E)))();
}

void baz()
{
  bar!(baz)();
}
END CODE


-- 



More information about the Digitalmars-d-bugs mailing list