ipa-devirt.c (maybe_record_node): When node is not recorded, set completep to false...
authorJan Hubicka <hubicka@ucw.cz>
Tue, 8 Apr 2014 05:35:11 +0000 (05:35 +0000)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 8 Apr 2014 05:35:11 +0000 (05:35 +0000)
* ipa-devirt.c (maybe_record_node): When node is not recorded,
set completep to false rather than true.

From-SVN: r209209

gcc/ChangeLog
gcc/ipa-devirt.c

index b568f37..34a0d5e 100644 (file)
@@ -1,3 +1,8 @@
+2014-04-07  Jan Hubicka  <hubcika@ucw.cz>
+
+       * ipa-devirt.c (maybe_record_node): When node is not recorded,
+       set completep to false rather than true.
+
 2014-04-07  Douglas B Rupp  <rupp@adacore.com>
 
        PR target/60504
index c84a26d..03a6c5b 100644 (file)
@@ -650,7 +650,7 @@ maybe_record_node (vec <cgraph_node *> &nodes,
   else if (completep
           && !type_in_anonymous_namespace_p
                 (method_class_type (TREE_TYPE (target))))
-    *completep = true;
+    *completep = false;
 }
 
 /* See if BINFO's type match OUTER_TYPE.  If so, lookup