ipa-devirt.c (add_type_duplicate): Remove redundant ODR violation dump
authorJan Hubicka <hubicka@ucw.cz>
Sun, 29 Nov 2015 18:51:28 +0000 (19:51 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 29 Nov 2015 18:51:28 +0000 (18:51 +0000)
* ipa-devirt.c (add_type_duplicate): Remove redundant ODR violation
dump

From-SVN: r231046

gcc/ChangeLog
gcc/ipa-devirt.c

index bcbebbc1257c1acc7683ddcebf8aaffa58b484b6..7b745ca92c789e22fc6f5598a6b37906486a5985 100644 (file)
@@ -1,3 +1,8 @@
+2015-11-29  Jan Hubicka  <hubicka@ucw.cz>
+
+       * ipa-devirt.c (add_type_duplicate): Remove redundant ODR violation
+       dump
+
 2015-11-29  David Edelsohn  <dje.gcc@gmail.com>
 
        PR target/28115
index 1539bb93906396b2222413fbdaf182a224cc3a32..2d78952ddbf49c6229edae5c314632de1fcb87ce 100644 (file)
@@ -1969,15 +1969,6 @@ add_type_duplicate (odr_type val, tree type)
       merge = false;
       odr_violation_reported = true;
       val->odr_violated = true;
-      if (symtab->dump_file)
-       {
-         fprintf (symtab->dump_file, "ODR violation\n");
-
-         print_node (symtab->dump_file, "", val->type, 0);
-         putc ('\n',symtab->dump_file);
-         print_node (symtab->dump_file, "", type, 0);
-         putc ('\n',symtab->dump_file);
-       }
     }
   gcc_assert (val->odr_violated || !odr_must_violate);
   /* Sanity check that all bases will be build same way again.  */