On 04/24/2018 08:53 PM, H. S. Teoh wrote:
Yesterday afternoon I ran into a performance issue in one of my D
projects, and thought, "well, it's simple, just compile with -profile,
identify the hotspot, optimize".  Unfortunately, doing that triggered a
latent codegen bug in -O that randomly causes runtime segfaults,
basically halting all progress.  I spent all morning today to reduce the
code in order to identify the codegen bug:

        https://issues.dlang.org/show_bug.cgi?id=18794

Another one for my collection of bugs related to the bt instruction [1]. I have an open PR to fix one of those [2], but maybe the whole optimization should just be disabled until the issues are fixed.

[...]
At this point, I'm *seriously* tempted to stop following dmd development
completely and just stick with LDC releases for my D projects. :-(

Very understandable. DMD has too damn many wrong-code bugs.


[1] https://issues.dlang.org/show_bug.cgi?id=18750
[2] https://github.com/dlang/dmd/pull/8142

Reply via email to