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]

Re: Undefined references to 'memcpy' when compiling Linux Kernel


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

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