Re: expanding builtins

2005-06-27 Thread James Lemke
> 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 >

Re: expanding builtins

2005-06-27 Thread Andreas Schwab
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

Re: expanding builtins

2005-06-27 Thread Jakub Jelinek
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

expanding builtins

2005-06-27 Thread James Lemke
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