Frustrated with dmd codegen bug
Basile B.
b2temp at gmx.com
Tue Apr 24 20:18:55 UTC 2018
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.
More information about the Digitalmars-d
mailing list