The attached test case causes the error:
[dav1d@ArchBox unsorted]\$ dmd -ofdbug dbug.d && ./dbug
Internal error: backend/cod2.c 4624
OS: Archlinux, 3.0-ARCH, 32 bit
DMD: DMD32 D Compiler v2.055
Problem occurs just with templates, also you need min. 2 structs as argument
Comment #1 by admin — 2011-11-03T16:53:33Z
Ok, nazriel (#d on freenode) just mentioned the testcase works with dmd 2.056, 64 bit (with and without m32), gentoo
Comment #2 by clugdbug — 2011-12-08T00:57:29Z
There's no attachment, but this is almost certainly a duplicate of bug 6733, which was fixed in 2.056.
*** This issue has been marked as a duplicate of issue 6733 ***