|
From: | Robert Sprowson |
Subject: | [lwip-devel] [bug #26273] etharp.c : fix alignment issue in etharp_raw |
Date: | Wed, 22 Apr 2009 21:24:53 +0000 |
User-agent: | Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1) |
Follow-up Comment #12, bug #26273 (project lwip): Whether or not the compiler chooses to do inline copying or a call to memcpy for structures is presumably a heuristic of the compiler. For example, the ARM tools will look for structures less than 64 bytes and a multiple of 4 long and that are word aligned and convert to load/store multiple: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.faqs/ka3934.html Don't change the code to work around compiler faults, but do change to code for less ambiguous C. _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?26273> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |