Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
Loading
user avatar
Prabhakar Kushwaha authored
-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>
687a7518
History
Name Last commit Last update