https://bugzilla.gdcproject.org/show_bug.cgi?id=283

--- Comment #2 from Iain Buclaw <ibuc...@gdcproject.org> ---
The above reduced test fails when compiled with: 'gdc -frelease -O'

It runs just fine when compiling with: 'gdc -frelease'

An earlier, more complex version of this test passed when built with -O2, but
failed with -O3.

When compiling the original source module (sdtor.d), it always succeeds
regardless of what optimization flags you pass.

So, the same program ran in isolation can do something different than when
compiled with a larger codebase.  Making it a rather peculiar optimization bug.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to