public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/109139] New: ice in make_decl_rtl, at varasm.cc:1442 Date: Wed, 15 Mar 2023 08:17:34 +0000 [thread overview] Message-ID: <bug-109139-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109139 Bug ID: 109139 Summary: ice in make_decl_rtl, at varasm.cc:1442 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- This C code: const int COMPARE_CANDIDATE; char ipmi_ek_compare_link_record1_0, ipmi_ek_compare_link_record2_0; void ipmi_ek_compare_link() { for (; ipmi_ek_compare_link_record1_0;) for (; ipmi_ek_compare_link_record2_0;) { int link[COMPARE_CANDIDATE]; } } when compiled by today's gcc trunk, does this: $ ~/gcc/results.20230315/bin/gcc -c -w -O1 -ftrivial-auto-var-init=zero bug896.c during RTL pass: expand bug896.c: In function ‘ipmi_ek_compare_link’: bug896.c:6:11: internal compiler error: in make_decl_rtl, at varasm.cc:1442 6 | int link[COMPARE_CANDIDATE]; | ^~~~ 0x7c9502 make_decl_rtl(tree_node*) ../../trunk.year/gcc/varasm.cc:1442 It worked yesterday: $ ~/gcc/results.20230314/bin/gcc -c -w -O1 -ftrivial-auto-var-init=zero bug896.c $ The git range seems to be g:e17936f842d28854 .. g:a9ae16db8cbb2c0e.
next reply other threads:[~2023-03-15 8:17 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-03-15 8:17 dcb314 at hotmail dot com [this message] 2023-03-15 8:34 ` [Bug tree-optimization/109139] [13 Regression] " pinskia at gcc dot gnu.org 2023-03-15 8:36 ` pinskia at gcc dot gnu.org 2023-03-15 8:43 ` rguenth at gcc dot gnu.org 2023-03-15 9:29 ` cvs-commit at gcc dot gnu.org 2023-03-15 9:30 ` 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-109139-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).