public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "hubicka at kam dot mff.cuni.cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/103441] [12 Regression] ICE in cgraph_node::verify_node() building libgo on powerpc64le-linux-gnu (--with-cpu=power9)
Date: Fri, 26 Nov 2021 15:26:17 +0000	[thread overview]
Message-ID: <bug-103441-4-5kgaPGahv1@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-103441-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103441

--- Comment #3 from hubicka at kam dot mff.cuni.cz ---
> #0  gimple_set_bb (stmt=0x3fffb01a2be0, bb=0x0) at ../../gcc/gimple.c:1772
> #1  0x00000000107209b0 in gsi_remove (i=0x3fffffffd7c8,
> remove_permanently=<optimized out>) at ../../gcc/gimple-iterator.c:569
> #2  0x0000000010bddd3c in remove_bb (bb=0x3fffb0de2698) at
> ../../gcc/tree-cfg.c:2338
> #3  0x00000000104aa8a0 in delete_basic_block (bb=<optimized out>) at
> ../../gcc/cfghooks.c:616
> #4  0x0000000010c087f4 in cleanup_control_flow_pre () at
> ../../gcc/tree-cfgcleanup.c:979
> #5  0x0000000010c0b090 in cleanup_tree_cfg_noloop (ssa_update_flags=0) at
> ../../gcc/tree-cfgcleanup.c:1073
> #6  cleanup_tree_cfg (ssa_update_flags=<optimized out>) at
> ../../gcc/tree-cfgcleanup.c:1183

It is not safe to do cleanup_tree_cfg in IPA transform pass since it
does not maintain cgraph edges (which are needed during inliing).
There is delete_unreachable_blocks_update_callgraph.

  parent reply	other threads:[~2021-11-26 15:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-26 13:48 [Bug target/103441] New: " doko at debian dot org
2021-11-26 14:04 ` [Bug ipa/103441] [12 Regression] " rguenth at gcc dot gnu.org
2021-11-26 15:01 ` marxin at gcc dot gnu.org
2021-11-26 15:03 ` marxin at gcc dot gnu.org
2021-11-26 15:26 ` hubicka at kam dot mff.cuni.cz [this message]
2021-11-26 15:40 ` jamborm at gcc dot gnu.org
2021-11-26 15:49 ` schwab@linux-m68k.org
2021-11-26 17:45 ` jamborm at gcc dot gnu.org
2021-11-26 18:39 ` pinskia at gcc dot gnu.org
2021-11-27  0:03 ` cvs-commit at gcc dot gnu.org
2021-11-29 13:05 ` jamborm 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-103441-4-5kgaPGahv1@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: link
Be 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).