]> Git Repo - J-u-boot.git/commit
Makefile:Add GCC flag -fno-delete-null-pointer-checks
authorPrabhakar Kushwaha <[email protected]>
Thu, 2 Jul 2015 06:30:17 +0000 (12:00 +0530)
committerTom Rini <[email protected]>
Wed, 8 Jul 2015 22:26:41 +0000 (18:26 -0400)
commit687a7518a1b1e40e005711603dcb14e0f6942d6d
tree4bdbdcb57735fdae8676f18121cc83dbdecab02d
parentf41d6b7d4295e2a5f33cbdca7b5b2518fac42934
Makefile:Add GCC flag -fno-delete-null-pointer-checks

-fdelete-null-pointer-checks flag controls global dataflow analyses and
eliminate useless checks for null pointers; It assume that if a pointer is
checked after it has already been dereferenced, it cannot be null.
This flag is enabled by default.

gcc v4.9 has more optimizations added to this option. Hence it is very
aggressive with GCC v4.9 series. Add -fno-delete-null-pointer-checks to
disable the optimization

Signed-off-by: Rohit Dharmakan <[email protected]>
Signed-off-by: Prabhakar Kushwaha <[email protected]>
Makefile
This page took 0.034235 seconds and 4 git commands to generate.