When it calls a slow memcpy runtime library routine you get what you get.
If all compilers did this, SMEMCPY wouldn't have been defined in lwIP.
> -----Original Message-----
> From: lwip-devel-bounces+bauerbach=arrayonline.com@... > [mailto:lwip-devel-bounces+bauerbach=arrayonline.com@...] On
> Behalf Of David Woodhouse
> Sent: Friday, October 03, 2008 9:49 AM
> To: lwip-devel
> Subject: RE: [lwip-devel] [PATCH] Fix aliasing violation.
>
> On Fri, 2008-10-03 at 09:39 -0400, bill wrote:
> > But we should use SMEMCPY. I use a macro that converts this to a
> > series of inline load/stores.
>
> Isn't that the compiler's job?
>
> --
> David Woodhouse Open Source Technology
> Centre
> David.Woodhouse@... Intel
> Corporation
>
>
>
> _______________________________________________
> lwip-devel mailing list
> lwip-devel@... > http://lists.nongnu.org/mailman/listinfo/lwip-devel