> You can:
> #include
> ...
> extern __typeof(memcpy) my_memcpy __asm ("memcpy");
>
> and use my_memcpy instead of memcpy in the place where you want to force
> library call.
Thanks Jakub! That worked very well.
Jim.
> Or you can use memcpy builtin, just tell GCC it should forget everything
>
Jakub Jelinek <[EMAIL PROTECTED]> writes:
> On Mon, Jun 27, 2005 at 10:11:50AM -0400, James Lemke wrote:
>> I have a situation where a structure is not properly aligned and I want
>> to copy it to fix this.
>>
>> I'm aware that -no-builtin-memcpy will suppress the expansion of
>> memcpy() (force
On Mon, Jun 27, 2005 at 10:11:50AM -0400, James Lemke wrote:
> I have a situation where a structure is not properly aligned and I want
> to copy it to fix this.
>
> I'm aware that -no-builtin-memcpy will suppress the expansion of
> memcpy() (force library calls) for a whole module. Is it possible
I have a situation where a structure is not properly aligned and I want
to copy it to fix this.
I'm aware that -no-builtin-memcpy will suppress the expansion of
memcpy() (force library calls) for a whole module. Is it possible to
suppress the expansion for a single invocation?
--
James Lemke