Compiler is calling `_memset64` in betterC

Paul Backus snarwin at
Sun Oct 18 16:12:59 UTC 2020

On Sunday, 18 October 2020 at 16:04:55 UTC, Koro wrote:
> I'm writing a 'betterC' program and the compiler is generating 
> a call to '_memset64' if I have an array literal where the 
> elements are the same.

It's a known bug:

My guess is that the reason it hasn't been fixed is that (a) it's 
possible to work around it, and (b) the problem is in the 
compiler backend, and few people understand that code well enough 
to fix it.

More information about the Digitalmars-d-learn mailing list