This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Builtins and C++ and such
- From: mike stump <mrs at windriver dot com>
- To: gdr at codesourcery dot com, mark at codesourcery dot com
- Cc: bkoz at redhat dot com, gcc at gcc dot gnu dot org, jason at redhat dot com
- Date: Wed, 20 Mar 2002 12:08:42 -0800 (PST)
- Subject: Re: Builtins and C++ and such
> 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.