[PATCH] Turn off -Wmaybe-uninitialized when building with -Os

2013-03-25 Thread Arnd Bergmann
gcc-4.7 and higher add a lot of false positive warnings about potential uses of uninitialized warnings, but only when optimizing for size (-Os). This is the default when building allyesconfig, which turns on CONFIG_CC_OPTIMIZE_FOR_SIZE. In order to avoid getting a lot of patches that initialize su

Re: [PATCH] Turn off -Wmaybe-uninitialized when building with -Os

2013-03-15 Thread Russell King - ARM Linux
On Thu, Mar 14, 2013 at 11:01:35PM +0100, Arnd Bergmann wrote: > gcc-4.7 and higher add a lot of false positive warnings about > potential uses of uninitialized warnings, but only when optimizing > for size (-Os). This is the default when building allyesconfig, > which turns on CONFIG_CC_OPTIMIZE_F

[PATCH] Turn off -Wmaybe-uninitialized when building with -Os

2013-03-14 Thread Arnd Bergmann
gcc-4.7 and higher add a lot of false positive warnings about potential uses of uninitialized warnings, but only when optimizing for size (-Os). This is the default when building allyesconfig, which turns on CONFIG_CC_OPTIMIZE_FOR_SIZE. In order to avoid getting a lot of patches that initialize su