On Fri, Oct 22, 2010 at 3:16 AM, Samuel Vinson <samuelv at laposte.net> wrote: > Hi, > > I analyzed the issue. Finally, this issue occurs with gcc-4.2 for iOS with > option : > ??? -Os -mno-thumb - arch armv6 > But there are no problem with > ??? -O0 -mno-thumb -gdwarf-2 - arch armv6 > ??? -O2 -Mno-thumb - arch armv6 > > I tested on ipod touch 2g and iphone 4 > > In conclusion, I think this is a compiler error. > Sorry but I haven't had time to check this myself. I went as far as testing -Os on Linux, which works, as expected, but haven't tested with iPhones yet. I think we may just have to leave this as compiler bug indeed. Best regards, Benny > Regards > > Samuel >