Unexpected memory reuse

Anonymous via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jul 31 11:56:01 PDT 2014


On Thursday, 31 July 2014 at 18:51:09 UTC, Sean Kelly wrote:
> This looks like an optimizer bug.  Do you see the same result
> with -release set vs. not, etc?

I get it regardless of -release or -O.

Replacing the arr declaration with T[sz] arr; fixes the problem.


More information about the Digitalmars-d-learn mailing list