Undefined references to 'memcpy' when compiling Linux Kernel
Andi Kleen
ak@suse.de
Mon Jun 19 03:05:00 GMT 2000
On Mon, Jun 19, 2000 at 12:04:52PM +0200, John Hughes wrote:
> > Inlined memcpy can be very big in some cases, e.g. when gcc cannot
> > figure out the alignment of the target and destination pointers
>
> But in the case reported on a '386 I'd expect the inlined code to
> be tiny, smaller than the call.
I haven't looked at the case, but gcc probably was not able to
guarantee the alignments based on the type information.
-Andi
More information about the Gcc
mailing list