[Issue 19946] In betterC filling an array with a non-zero value fails for types of size > 1 due to missing _memset16/_memset32/etc.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jun 2 18:04:37 UTC 2022


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

Dennis <dkorpel at live.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dkorpel at live.nl

--- Comment #3 from Dennis <dkorpel at live.nl> ---
These functions are defined in druntime's rt/memset, which is not linked with
betterC. I'm not sure what the best fix is. The functions could be emitted in
every translation unit that relies on them. Or, the code needs to be always
inlined (though since some memset functions use inline asm, dmd cannot inline
it currently).

--


More information about the Digitalmars-d-bugs mailing list