Thread overview
[Issue 23580] ImportC: undefined identifier `__builtin___memcpy_chk
[Issue 23580] undefined identifier `__builtin___memcpy_chk
Dec 27, 2022
Jacob Carlborg
Dec 27, 2022
Jacob Carlborg
Dec 27, 2022
Jacob Carlborg
Dec 27, 2022
Iain Buclaw
Jan 12, 2023
Walter Bright
Jan 12, 2023
Walter Bright
Jan 12, 2023
Walter Bright
Jan 14, 2023
Walter Bright
December 27, 2022
https://issues.dlang.org/show_bug.cgi?id=23580

--- Comment #1 from Jacob Carlborg <doob@me.com> ---
If I run the C code manually through the preprocessor this is the relevant output:

void foo()
{
    __builtin___memcpy_chk (0, 0, 0, __builtin_object_size (0, 0));
}

--
December 27, 2022
https://issues.dlang.org/show_bug.cgi?id=23580

Jacob Carlborg <doob@me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|undefined identifier        |ImportC: undefined
                   |`__builtin___memcpy_chk     |identifier
                   |                            |`__builtin___memcpy_chk

--
December 27, 2022
https://issues.dlang.org/show_bug.cgi?id=23580

Jacob Carlborg <doob@me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ImportC

--
December 27, 2022
https://issues.dlang.org/show_bug.cgi?id=23580

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

--
January 12, 2023
https://issues.dlang.org/show_bug.cgi?id=23580

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@digitalmars.com
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=23581

--
January 12, 2023
https://issues.dlang.org/show_bug.cgi?id=23580

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=23582,
                   |                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=23583

--
January 12, 2023
https://issues.dlang.org/show_bug.cgi?id=23580

--- Comment #2 from Walter Bright <bugzilla@digitalmars.com> ---
https://github.com/dlang/dmd/pull/14801

--
January 14, 2023
https://issues.dlang.org/show_bug.cgi?id=23580

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--