inferred size for static array initialization

Namespace via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon May 2 12:38:06 PDT 2016


> The assembler might be safe in some instances, but that doesn't 
> reflect the original internal representation in the compiler. 
> Some other configuration of calls may allow the compiler to 
> reuse that memory, and then you run into problems.
>
> I'm wondering if you used my rewrite if it would actually 
> output the same thing?

Not quite. Look for yourself:
https://godbolt.org/g/kO8hdW
https://godbolt.org/g/KCfYPy


More information about the Digitalmars-d-learn mailing list