* ipa-devirt.c (add_type_duplicate): Fix return value.
authorJan Hubicka <hubicka@ucw.cz>
Thu, 25 Jul 2019 13:42:25 +0000 (15:42 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 25 Jul 2019 13:42:25 +0000 (13:42 +0000)
From-SVN: r273800

gcc/ChangeLog
gcc/ipa-devirt.c

index 87a4ecd1d22d1d4dae84583894336a5c9949bdbf..35fd8474919350bdcfc8f93dcc8f3a6dfcea82b9 100644 (file)
@@ -1,3 +1,7 @@
+2019-07-23  Jan Hubicka  <hubicka@ucw.cz>
+
+       * ipa-devirt.c (add_type_duplicate): Fix return value.
+
 2019-07-25  Richard Biener  <rguenther@suse.de>
 
        * tree-vrp.c (extract_range_from_multiplicative_op): Add
index 95e2d950fe968f3f4dd33c70d0cac7586eff29a5..391a6501ada532cf7143fe9d9c143caecb606ec2 100644 (file)
@@ -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));