This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]