Makefile Optimization
Turn off -Wmaybe-uninitialized when building with -Os

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 such
variables and accidentally hide real errors along the way, let's
just turn off this warning on the respective gcc versions
when building with size optimizations. The -Wmaybe-uninitialized
option was introduced in the same gcc version (4.7) that is now
causing the false positives, so there is no effect on older compilers.

A side effect is that when building with CONFIG_CC_OPTIMIZE_FOR_SIZE,
we might now see /fewer/ warnings about possibly uninitialized
warnings than with -O2, but that is still much better than seeing
warnings known to be bogus.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Git-commit: e74fc973b6e531fef1fce8b101ffff05ecfb774c
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Bryan Huntsman <bryanh@codeaurora.org>

makefile: Added 4.8.2 optimizations

makefile: remove Wno-sizeof-pointer-memaccess

ARM: makefile: remove march=armv7-a for satisfy targeting MSM Krait CPUs

makefile: rework and restyle

makefile: tweak and align flags

makefile: add new flag -fgcse-las

makefile: add new flag -fgcse-las - part 2

makefile: add graphite flags opt

makefile: cleaning and remove -ffast-math

makefile: Tune Kernel Flags after checking with GccOptimizationTests

Thanks
@dorimanx

https://wiki.ubuntu.com/GccOptimizationTests

seems to provide 4~7% boost in cpu performance.

makefile: fix graphite flags syntax error

makefile: nf_conntrack_core: fix compile error with graphite optimizations

 Sail_TEST
commit 9406c88ea159fdf0900ece1b00041453f311266d 1 parent b75d3f1
AK anarkia1976 authored on 16 Feb 2013
 Docker-J committed 11 days ago
gee_defconfig: Enable CONFIG_CC_GRAPHITE_OPTIMIZATION option