From d737fed99b34335fa239e0c61a8935a685f104ae Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Sun, 29 Nov 2015 19:51:28 +0100 Subject: [PATCH] ipa-devirt.c (add_type_duplicate): Remove redundant ODR violation dump * ipa-devirt.c (add_type_duplicate): Remove redundant ODR violation dump From-SVN: r231046 --- gcc/ChangeLog | 5 +++++ gcc/ipa-devirt.c | 9 --------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bcbebbc1257..7b745ca92c7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-11-29 Jan Hubicka + + * ipa-devirt.c (add_type_duplicate): Remove redundant ODR violation + dump + 2015-11-29 David Edelsohn PR target/28115 diff --git a/gcc/ipa-devirt.c b/gcc/ipa-devirt.c index 1539bb93906..2d78952ddbf 100644 --- a/gcc/ipa-devirt.c +++ b/gcc/ipa-devirt.c @@ -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. */ -- 2.30.2