[Top][All Lists]

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

[lwip-devel] [bug #26273] etharp.c : fix alignment issue in etharp_raw

From: Simon Goldschmidt
Subject: [lwip-devel] [bug #26273] etharp.c : fix alignment issue in etharp_raw
Date: Thu, 23 Apr 2009 05:46:15 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv: Gecko/2009040821 Firefox/3.0.9

Follow-up Comment #13, bug #26273 (project lwip):

> Don't change the code to work around compiler faults, but do change to code
for less ambiguous C.

I'm getting the opinion assigning structs isn't that portable, so maybe we
should remove that code...


That link talks about how the ARM compiler *optimizes memcpy*. However in
this case it produced a memcpy out of a structure assignment. That's different
thing. However, I don't know how structure assignments are usually compiled,
but I would have thought there is a similar algorithm (like copying members
for small structs, using memcpy for large structs).


Reply to this item at:


  Nachricht geschickt von/durch Savannah

reply via email to

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