[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:51:43 +0100 |
User-agent: |
Thunderbird 1.5.0.12 (X11/20070530) |
Jonathan Larmour wrote:
> 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.
Oh, and I've made the changes (as SMEMCPY), thanks.
Jifl
--
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