[Issue 23583] New: undefined identifier `__builtin___memmove_chk`
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Dec 27 20:03:45 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=23583
Issue ID: 23583
Summary: undefined identifier `__builtin___memmove_chk`
Product: D
Version: D2
Hardware: x86_64
OS: Mac OS X
Status: NEW
Severity: enhancement
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: doob at me.com
Compiling the following C code:
#include <string.h>
void foo()
{
memmove(0, 0, 0);
}
Results in the following error:
foo.c(5): Error: undefined identifier `__builtin___memmove_chk`
If I run the C code manually through the preprocessor this is the relevant
output:
void foo()
{
__builtin___memmove_chk (0, 0, 0, __builtin_object_size (0, 0));
}
I'm using macOS 13.0.1, DMD v2.101.1 and Xcode 14.2.
--
More information about the Digitalmars-d-bugs
mailing list