Re: thumb compiler flags

2011-08-06 Thread Zach Pfeffer
Bero, I think this might be a good patch to get up to AOSP after we try it out. Assigning a bug for Chao to look at: https://bugs.launchpad.net/linaro-android/+bug/822113 -Zach On 2 August 2011 22:09, Bernhard Rosenkranzer wrote: > Hi, > I just spotted this bit in Android's Makefiles (inherite

thumb compiler flags

2011-08-02 Thread Bernhard Rosenkranzer
Hi, I just spotted this bit in Android's Makefiles (inherited that way from AOSP): TARGET_arm_CFLAGS := [...] -fstrict-aliasing [...] [...] TARGET_thumb_CFLAGS := [...] -fno-strict-aliasing [...] This general assumption that arm code can handle strict aliasing, but thumb code can't, seems odd. M