Infact, regardless of whether or not this blocks mingw builds, it is reproducible on all targets. This is a *serious* bug.
Comment #3 by yebblies — 2014-06-13T02:29:41Z
If it doesn't have a test case or assert in dmd it's probably not going to stay fixed.
Comment #4 by ibuclaw — 2014-06-13T07:25:26Z
If there's a way to distinguish between different kinds of type in dmd's backend, you could throw in some tree checking.
Such as:
Assignments, left and right types are compatible.
Comparisons, left and right types are compatible.
Returns, return value type and function return type are compatible.
Conditions, condition is a scalar type.
Of course, you don't need this sort of checking in dmd release builds. :)
This is also blocking the next binary release of gdc.
Comment #7 by ibuclaw — 2014-06-13T09:50:33Z
(In reply to yebblies from comment #3)
> If it doesn't have a test case or assert in dmd it's probably not going to
> stay fixed.
It's going in the gdc testsuite. :)