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
This commit is contained in:
Jan Hubicka 2015-11-29 19:51:28 +01:00 committed by Jan Hubicka
parent 9ddc16eb1a
commit d737fed99b
2 changed files with 5 additions and 9 deletions

View 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> 2015-11-29 David Edelsohn <dje.gcc@gmail.com>
PR target/28115 PR target/28115

View File

@ -1969,15 +1969,6 @@ add_type_duplicate (odr_type val, tree type)
merge = false; merge = false;
odr_violation_reported = true; odr_violation_reported = true;
val->odr_violated = 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); gcc_assert (val->odr_violated || !odr_must_violate);
/* Sanity check that all bases will be build same way again. */ /* Sanity check that all bases will be build same way again. */