summaryrefslogtreecommitdiff
path: root/gcc/ipa-devirt.c
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2019-07-25 15:42:25 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2019-07-25 13:42:25 +0000
commit2fc233b73189dd0664fb1cb95865fc5a14396e1f (patch)
tree029204d05f5062b5fd208f53f21654f41a086084 /gcc/ipa-devirt.c
parente2cfa983c31fa7886f496a47feb8714297ca0063 (diff)
* ipa-devirt.c (add_type_duplicate): Fix return value.
From-SVN: r273800
Diffstat (limited to 'gcc/ipa-devirt.c')
-rw-r--r--gcc/ipa-devirt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-devirt.c b/gcc/ipa-devirt.c
index 95e2d950fe9..391a6501ada 100644
--- a/gcc/ipa-devirt.c
+++ b/gcc/ipa-devirt.c
@@ -1613,7 +1613,7 @@ add_type_duplicate (odr_type val, tree type)
val->types_set->add (type);
if (!odr_hash)
- return NULL;
+ return false;
gcc_checking_assert (can_be_name_hashed_p (type)
&& can_be_name_hashed_p (val->type));