Skip to content
Snippets Groups Projects
Commit 687a7518 authored by Prabhakar Kushwaha's avatar Prabhakar Kushwaha Committed by Tom Rini
Browse files

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: default avatarRohit Dharmakan <rohitarulraj@freescale.com>
Signed-off-by: default avatarPrabhakar Kushwaha <prabhakar@freescale.com>
parent f41d6b7d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment