Compiler is calling `_memset64` in betterC

Paul Backus snarwin at gmail.com
Mon Oct 19 14:23:20 UTC 2020


On Monday, 19 October 2020 at 14:07:38 UTC, matheus wrote:
> On Sunday, 18 October 2020 at 19:24:28 UTC, Ferhat Kurtulmuş 
> wrote:
>>> 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).
>
> So the "first party" compiler has a bug while the "third party" 
> one works. That's weird.
>
> I would expect the other way around.
>
> Matheus.

This is more or less the norm for backend issues in D.

The ldc and gdc backends are shared with clang and gcc, so they 
are very well-maintained and bugs in them tend to get fixed 
quickly. The dmd backend, on the other hand, is maintained by 
only a small handful of people.


More information about the Digitalmars-d-learn mailing list