From: Jan Hubicka Date: Thu, 25 Jul 2019 13:42:25 +0000 (+0200) Subject: * ipa-devirt.c (add_type_duplicate): Fix return value. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2fc233b73189dd0664fb1cb95865fc5a14396e1f;p=gcc.git * ipa-devirt.c (add_type_duplicate): Fix return value. From-SVN: r273800 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 87a4ecd1d22..35fd8474919 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2019-07-23 Jan Hubicka + + * ipa-devirt.c (add_type_duplicate): Fix return value. + 2019-07-25 Richard Biener * tree-vrp.c (extract_range_from_multiplicative_op): Add 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));