On Tuesday, 24 April 2018 at 18:53:02 UTC, 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

In the report you forgot to mention that the bug is only visible with -O -profile.
With just -O the provided test case works fine.


Reply via email to