This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Undefined references to 'memcpy' when compiling Linux Kernel
- To: <ak at suse dot de>
- Subject: RE: Undefined references to 'memcpy' when compiling Linux Kernel
- From: "John Hughes" <john at Calva dot COM>
- Date: Mon, 19 Jun 2000 12:04:52 +0200
- Cc: "H . J . Lu" <hjl at lucon dot org>, "Jeff Garzik" <jgarzik at mandrakesoft dot com>, "Byron Stanoszek" <gandalf at winds dot org>, <linux-kernel at vger dot rutgers dot edu>, <alan at lxorguk dot ukuu dot org dot uk>, <gcc at gcc dot gnu dot org>
> 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.
--
John Hughes <john@Calva.COM>,
CalvaEDI SA. Tel: +33-1-4313-3131
66 rue du Moulin de la Pointe, Fax: +33-1-4313-3139
75013 PARIS.