Howto build a repo case for a ICE?

Timon Gehr timon.gehr at
Sun Feb 19 05:44:44 PST 2012

On 02/19/2012 02:24 PM, Benjamin Thaut wrote:
> The last dmd version I could use to actually build my project was dmd
> 2.056. Now I want to help finding those bugs that keep me from compiling
> and I'm wondering how I can build repro cases for the ICEs I encounter.
> I tried compiling with -v but that does not really give much information
> about where the crash actually happens. So I wonder what can actually be
> done to find the part of the code or even only the module it crashes in?
> The current ICE I'm encountering is:
> Assertion failure: 't1->ty == t2->ty' on line 2082 in file 'cast.c'
> Kind Regards
> Benjamin Thaut

DustMite is an useful tool for generating reduced cases that cause the 
same ICE:

More information about the Digitalmars-d mailing list