diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4117eb34637..59b00d164f9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-10-19 Martin Liska + + * cgraph.h (cgraph_edge::binds_to_current_def_p): + Replace NULL with false as a return value. + 2016-10-19 Thomas Schwinge PR tree-optimization/78024 diff --git a/gcc/cgraph.h b/gcc/cgraph.h index ecafe63a536..cc730d2faf1 100644 --- a/gcc/cgraph.h +++ b/gcc/cgraph.h @@ -3042,7 +3042,7 @@ cgraph_edge::binds_to_current_def_p () if (callee) return callee->binds_to_current_def_p (caller); else - return NULL; + return false; } /* Return true if the TM_CLONE bit is set for a given FNDECL. */