ipa-prop.c (try_make_edge_direct_virtual_call): Remove overactive sanity check.
authorJan Hubicka <hubicka@ucw.cz>
Sun, 5 Oct 2014 19:51:39 +0000 (21:51 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 5 Oct 2014 19:51:39 +0000 (19:51 +0000)
* ipa-prop.c (try_make_edge_direct_virtual_call): Remove overactive
sanity check.

From-SVN: r215907

gcc/ChangeLog
gcc/ipa-prop.c

index 59223877fea01579c116ed412affe231a65a8b72..d102553b9748bf59cca228f75e3d701049bd02a9 100644 (file)
@@ -1,3 +1,8 @@
+2014-10-04  Jan Hubicka  <hubicka@ucw.cz>
+
+       * ipa-prop.c (try_make_edge_direct_virtual_call): Remove overactive
+       sanity check.
+
 2014-10-04  Jan Hubicka  <hubicka@ucw.cz>
 
        * ipa-polymorphic-call.c (possible_placement_new): Fix condition
index 743ea805b6dbb65fab47151ec8b9b693cb971d88..62db3277ed4c8c128791c75e514cf138db650073 100644 (file)
@@ -3253,7 +3253,6 @@ try_make_edge_direct_virtual_call (struct cgraph_edge *ie,
                                                     binfo);
          if (t)
            {
-             gcc_assert (!target || speculative || target == t);
              target = t;
              speculative = false;
            }