public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/98845] New: [8/9/10 Regression] ICE: SSA corruption (Unable to coalesce ssa_names 2 and 23 which are marked as MUST COALESCE.) Date: Wed, 27 Jan 2021 04:33:02 +0000 [thread overview] Message-ID: <bug-98845-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98845 Bug ID: 98845 Summary: [8/9/10 Regression] ICE: SSA corruption (Unable to coalesce ssa_names 2 and 23 which are marked as MUST COALESCE.) Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- gcc-11.0.0-alpha20210124 snapshot (g:6b1633378b74bed1d999a0ae2549088515a30ba0) ICEs when compiling the following testcase w/ -Os -fno-tree-dce: int __attribute__ ((returns_twice)) func_58 (int); int func_215 (int func_215___trans_tmp_2, int g_180, int p_217, int p_218) { if (func_215___trans_tmp_2) func_215 (0, 0, 0, 0); else if (g_180) { if (p_218) return 1; p_218 = p_217; } else { p_217 = 0; while (!p_217) { } } p_218 = 0; while (p_218) { func_58 (p_217); func_58 (p_217 + 1); } return 0; } % gcc-11.0.0 -Os -fno-tree-dce -c gdh96e2t.c Unable to coalesce ssa_names 2 and 23 which are marked as MUST COALESCE. p_217_2(ab) and p_217_23(D)(ab) during RTL pass: expand gdh96e2t.c: In function 'func_215': gdh96e2t.c:5:1: internal compiler error: SSA corruption 5 | func_215 (int func_215___trans_tmp_2, int g_180, int p_217, int p_218) | ^~~~~~~~ 0xf1d345 fail_abnormal_edge_coalesce /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20210124/work/gcc-11-20210124/gcc/tree-ssa-coalesce.c:1003 0xf1d345 coalesce_partitions /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20210124/work/gcc-11-20210124/gcc/tree-ssa-coalesce.c:1425 0xf1d345 coalesce_ssa_name(_var_map*) /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20210124/work/gcc-11-20210124/gcc/tree-ssa-coalesce.c:1755 0xeb8fcc remove_ssa_form /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20210124/work/gcc-11-20210124/gcc/tree-outof-ssa.c:1065 0xeb8fcc rewrite_out_of_ssa(ssaexpand*) /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20210124/work/gcc-11-20210124/gcc/tree-outof-ssa.c:1323 0x961e60 execute /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20210124/work/gcc-11-20210124/gcc/cfgexpand.c:6533
next reply other threads:[~2021-01-27 4:33 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-01-27 4:33 asolokha at gmx dot com [this message] 2021-01-27 7:57 ` [Bug tree-optimization/98845] [8/9/10/11 " rguenth at gcc dot gnu.org 2021-01-27 8:26 ` [Bug tree-optimization/98845] [8/9/10/11 Regression] ICE: SSA corruption (Unable to coalesce ssa_names 2 and 23 which are marked as MUST COALESCE.) since r6-528-g465770e43996a132 marxin at gcc dot gnu.org 2021-01-27 8:39 ` rguenth at gcc dot gnu.org 2021-01-27 8:54 ` rguenth at gcc dot gnu.org 2021-05-14 9:54 ` [Bug tree-optimization/98845] [9/10/11/12 " jakub at gcc dot gnu.org 2021-05-31 4:59 ` asolokha at gmx dot com 2021-05-31 8:34 ` marxin at gcc dot gnu.org 2021-05-31 8:50 ` [Bug tree-optimization/98845] [9/10/11 " rguenther at suse dot de 2021-06-01 8:19 ` rguenth at gcc dot gnu.org 2022-03-16 8:01 ` rguenth at gcc dot gnu.org 2022-03-17 4:55 ` [Bug tree-optimization/98845] [9/10/11/12 " asolokha at gmx dot com 2022-03-17 7:34 ` rguenth at gcc dot gnu.org 2022-05-27 9:44 ` [Bug tree-optimization/98845] [10/11/12/13 " rguenth at gcc dot gnu.org 2022-06-28 10:43 ` jakub at gcc dot gnu.org 2023-07-07 10:38 ` [Bug tree-optimization/98845] [11/12/13/14 " rguenth 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-98845-4@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).