On Sunday, 18 October 2020 at 17:05:01 UTC, Neto wrote:
On Sunday, 18 October 2020 at 16:12:59 UTC, Paul Backus wrote:
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:

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

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.

I plan to start a project in reasonable size, I wonder if I should really use betterC... if I encounter a bug like this, will I be stuck at it?

The bug report says, it is a dmd specific problem, and LDC, my favorite d compiler, works well (tried it).

Reply via email to