Certain array compares are only done on the lower 32bit of array pointers. Especially the following function triggers this bug. bool cmp(ref int[3] a, ref int[3] b) { return a is b; } P.S.: There is already a pull request, but I created this bug report to hold as a reference.
https://github.com/D-Programming-Language/dmd/commit/e083238bea021c8f70619a7b7cf2e1f186805f9f