Subject: Re: kern/13369: gcc inlines memcpy(3)
To: Oleg Polianski <Oleg.Polianski@clear.co.nz>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-bugs
Date: 07/05/2001 09:45:04
On Thu, Jul 05, 2001 at 11:12:51AM +1200, Oleg Polianski wrote:
> Manuel Bouyer <bouyer@antioche.lip6.fr> writes:
> 
>  There is a special option, `-fno-builtin', that prevents gcc from
>  recognizing and inlining of well known functions like `memcpy', `memcmp' and
>  some other (math) functions. Plese consult `info gcc' for more information.

The problem is not that gcc inlines memcpy, it's that there are places
where we use memcpy where whe should use memmove.

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--