[Issue 16699] [REG 2.070] stack corruption with scope(exit)

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Nov 17 12:14:59 PST 2016


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

--- Comment #4 from hsteoh at quickfur.ath.cx ---
Yet another data point:  compiling with -O makes the problem go away(!).
Somehow, I guess the optimizer must be working at a higher level of
abstraction, and was able to deduce the correct semantics and enregister the
static array, thus avoiding this particular codegen bug.

--


More information about the Digitalmars-d-bugs mailing list