[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [lwip-devel] [PATCH] Fix aliasing violation.
From: |
bill |
Subject: |
RE: [lwip-devel] [PATCH] Fix aliasing violation. |
Date: |
Fri, 3 Oct 2008 11:01:23 -0400 |
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: address@hidden
> [mailto:address@hidden 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
> address@hidden Intel
> Corporation
>
>
>
> _______________________________________________
> lwip-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/lwip-devel