On 31 January 2011 15:59, Aurelien Jarno <aurel...@aurel32.net> wrote: > Christophe Lyon a écrit : >> Well, I can't reproduce this error :-( >> For the record, I configure with --target-list=arm-softmmu,arm-linux-user >> --disable-bluez --enable-debug --disable-sdl and point --host-cc and --cc to >> GCC-4.5.1. >> > > It seems the problems come from here, if I add --enable-debug, I am not > able to reproduce the problem anymore. I don't understand why though.
--enable-debug turns off optimisation (ie does not pass -O2); a number of gcc's warnings, including this one, are only done in the dataflow analysis pass and so will not be generated unless you have optimisation enabled. -- PMM