On 01.06.2013 23:01, Miika Komu wrote:
On 06/01/2013 11:04 PM, Diego Biurrun wrote:On 2013-06-01 21:53, Miika Komu wrote:On 06/01/2013 09:23 PM, Christof Mroz wrote:You could try compiling with -fno-strict-aliasing but all other optimizations turned on, and seeing if it solves the problem (possibly after changing "unsigned short" to "uint16_t").How to enable this just for a single file? I believe the compilation breaks otherwise.make libcore/gpl/checksum.o CFLAGS+=-fno-strict-aliasingtested, no effect, but thanks anyway for the hint.
Did you try it also for all files? Note that no-strict-aliasing is "safer" in that it disables optimizations and lets more kinds of code pass.