public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/64978] [5 Regression] ICE: in ipcp_verify_propagated_values, at ipa-cp.c:1060 Date: Mon, 09 Feb 2015 22:39:00 -0000 [thread overview] Message-ID: <bug-64978-4-j6x8WnlF3M@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-64978-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64978 --- Comment #9 from Jan Hubicka <hubicka at gcc dot gnu.org> --- OK, I think I found the bug - when doing the dataflow, we need to push the actual function not alias visited. Index: ipa-cp.c =================================================================== --- ipa-cp.c (revision 220547) +++ ipa-cp.c (working copy) @@ -561,8 +561,7 @@ gather_caller_stats (struct cgraph_node for (cs = node->callers; cs; cs = cs->next_caller) if (cs->caller->thunk.thunk_p) - cs->caller->call_for_symbol_thunks_and_aliases (gather_caller_stats, - stats, false); + ; else { stats->count_sum += cs->count; @@ -2643,7 +2642,7 @@ propagate_constants_topo (struct ipa_top for (cs = v->callees; cs; cs = cs->next_callee) if (ipa_edge_within_scc (cs) && propagate_constants_accross_call (cs)) - push_node_to_stack (topo, cs->callee); + push_node_to_stack (topo, cs->callee->function_symbol ()); v = pop_node_from_stack (topo); }
next prev parent reply other threads:[~2015-02-09 22:39 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-02-09 6:38 [Bug ipa/64978] New: " trippels at gcc dot gnu.org 2015-02-09 7:39 ` [Bug ipa/64978] " jakub at gcc dot gnu.org 2015-02-09 7:57 ` trippels at gcc dot gnu.org 2015-02-09 7:57 ` trippels at gcc dot gnu.org 2015-02-09 13:02 ` alserkli at inbox dot ru 2015-02-09 14:36 ` rguenth at gcc dot gnu.org 2015-02-09 16:34 ` trippels at gcc dot gnu.org 2015-02-09 20:29 ` hubicka at gcc dot gnu.org 2015-02-09 21:16 ` hubicka at gcc dot gnu.org 2015-02-09 22:39 ` hubicka at gcc dot gnu.org [this message] 2015-02-10 0:39 ` hubicka at gcc dot gnu.org 2015-02-10 13:08 ` trippels 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-64978-4-j6x8WnlF3M@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).