Builtins and C++ and such
mike stump
mrs@windriver.com
Wed Mar 20 12:18:00 GMT 2002
> To: Mark Mitchell <mark@codesourcery.com>
> Cc: gcc@gcc.gnu.org, bkoz@redhat.com, jason@redhat.com
> From: Gabriel Dos Reis <gdr@codesourcery.com>
> Date: 20 Mar 2002 10:07:01 +0100
> Mark Mitchell <mark@codesourcery.com> writes:
> [...]
> | The bottom line is that I'd still really rather see this fixed in
> | the headers (where it's easy to do:
> |
> | extern "C" inline memcpy() { __builtin_memcpy(); }
> |
> | ) that have special gunk in the compiler.
The above completely ignores the fact that __builtin_memcpy can just
call memcpy, it would like like saying, let do:
memcpy(a,b,c) { return memcpy(a,b,c); }
in the library, well, nice, but, it won't actually work.
More information about the Gcc
mailing list