[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-devel] [PATCH] Fix aliasing violation.

From: Jonathan Larmour
Subject: Re: [lwip-devel] [PATCH] Fix aliasing violation.
Date: Fri, 03 Oct 2008 15:33:24 +0100
User-agent: Thunderbird (X11/20070530)

David Woodhouse wrote:
> 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?

Not all compilers do it. GCC does, and I expect that's what you're using.
For GCC, SMEMCPY can remain as memcpy.

eCosCentric Limited      http://www.eCosCentric.com/     The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK.       Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
------["Si fractum non sit, noli id reficere"]------       Opinions==mine

reply via email to

[Prev in Thread] Current Thread [Next in Thread]