Tricky DMD bug, but I have no idea how to report

JN 666total at wp.pl
Fri Feb 8 22:45:39 UTC 2019


On Friday, 8 February 2019 at 22:11:31 UTC, H. S. Teoh wrote:
> Pity I still can't reproduce the problem locally. Otherwise I 
> would reduce it even more -- e.g., eliminate std.stdio 
> dependency and have the program fail on assert(obj != null), 
> and a bunch of other things to make it easier for compiler devs 
> to analyze -- and perhaps look at the generated assembly to see 
> what went wrong.  If you have the time (and patience) to do 
> that, it would greatly increase the chances of this being fixed 
> in a timely way, since it would narrow down the bug even more 
> so that it's easier to find in the dmd source code.
>
>
> T

It seems to be a Windows 64-bit only thing. Anyway, I reduced the 
code further manually. It's very hard to reduce it any further. 
For example, removing the assignments in fromEulerAngles static 
method hides the bug. Likewise, replacing writeln with assert 
makes it work properly too.


More information about the Digitalmars-d-learn mailing list