* Fix -fdump-ipa-devirt ICE
@ 2015-11-29 18:55 Jan Hubicka
0 siblings, 0 replies; only message in thread
From: Jan Hubicka @ 2015-11-29 18:55 UTC (permalink / raw)
To: gcc-patches
Hi,
this dump ICEs becuase the locations are still cached. There is no point of dumping
this because we now output warning.
Bootstrapped/regtested x86_64-linux, comitted.
Honza
* ipa-devirt.c (add_type_duplicate): Remove redundant ODR violation
dump
Index: ipa-devirt.c
===================================================================
--- ipa-devirt.c (revision 231020)
+++ ipa-devirt.c (working copy)
@@ -1969,15 +1969,6 @@ add_type_duplicate (odr_type val, tree t
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. */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-11-29 18:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-29 18:55 Fix -fdump-ipa-devirt ICE Jan Hubicka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).