public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "dnovillo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/51346] [4.7 Regression] LTO bootstrap failed with bootstrap-profiled Date: Wed, 30 Nov 2011 21:06:00 -0000 [thread overview] Message-ID: <bug-51346-4-QGx42QVw80@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-51346-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51346 Diego Novillo <dnovillo at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu.org --- Comment #3 from Diego Novillo <dnovillo at gcc dot gnu.org> 2011-11-30 20:17:08 UTC --- The reason we get into this ICE is because the call to cgraph_edge() has the side effect of adding entries to e->caller->call_site_hash: if (n > 100) { node->call_site_hash = htab_create_ggc (120, edge_hash, edge_eq, NULL); for (e2 = node->callees; e2; e2 = e2->next_callee) cgraph_add_edge_to_call_site_hash (e2); for (e2 = node->indirect_calls; e2; e2 = e2->next_callee) cgraph_add_edge_to_call_site_hash (e2); } When cgraph_edge is called with n > 100, the call to cgraph_add_edge_to_call_site_hash asserts because e->call_stmt is already in the hash table. Honza, why is this a problem? The code is expecting to find the slot empty, but I'm not sure why it expects that. Any pointers? Thanks. Diego.
next prev parent reply other threads:[~2011-11-30 20:18 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-11-29 17:50 [Bug bootstrap/51346] New: " hjl.tools at gmail dot com 2011-11-29 17:51 ` [Bug bootstrap/51346] " hjl.tools at gmail dot com 2011-11-29 17:51 ` hjl.tools at gmail dot com 2011-11-29 18:08 ` dnovillo at gcc dot gnu.org 2011-11-29 18:59 ` dnovillo at gcc dot gnu.org 2011-11-30 21:06 ` dnovillo at gcc dot gnu.org [this message] 2011-12-01 15:07 ` markus at trippelsdorf dot de 2011-12-01 15:11 ` Joost.VandeVondele at mat dot ethz.ch 2011-12-01 18:13 ` howarth at nitro dot med.uc.edu 2011-12-01 18:22 ` dnovillo at google dot com 2011-12-01 21:05 ` dnovillo at gcc dot gnu.org 2011-12-01 21:11 ` dnovillo at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-51346-4-QGx42QVw80@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).