aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/cgraph.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4117eb3..59b00d16 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2016-10-19 Martin Liska <mliska@suse.cz>
+
+ * cgraph.h (cgraph_edge::binds_to_current_def_p):
+ Replace NULL with false as a return value.
+
2016-10-19 Thomas Schwinge <thomas@codesourcery.com>
PR tree-optimization/78024
diff --git a/gcc/cgraph.h b/gcc/cgraph.h
index ecafe63..cc730d2 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. */