public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "sjames at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/109412] [13/14 Regression] ICE in fold_convert_loc, at fold-const.cc:2627 since r13-2205-g14cfa01755a66a Date: Thu, 27 Apr 2023 02:05:54 +0000 [thread overview] Message-ID: <bug-109412-4-2HXDJRBwod@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-109412-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109412 Sam James <sjames at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sjames at gcc dot gnu.org Summary|[13/14 Regression] ICE in |[13/14 Regression] ICE in |fold_convert_loc, at |fold_convert_loc, at |fold-const.cc:2627 |fold-const.cc:2627 since | |r13-2205-g14cfa01755a66a --- Comment #5 from Sam James <sjames at gcc dot gnu.org> --- When trying to reduce another bug, I accidentally reduced to something invalid which seems to hti this bug: ``` int bfd_elf_final_link() = {} ``` w/ ``` $ gcc -O2 /tmp/foo.c -c /tmp/foo.c:1:1: error: function ‘bfd_elf_final_link’ is initialized like a variable 1 | int bfd_elf_final_link() = {} | ^~~ /tmp/foo.c:1:1: internal compiler error: in fold_convert_loc, at fold-const.cc:2627 0x62ce64 fold_convert_loc(unsigned int, tree_node*, tree_node*) /usr/src/debug/sys-devel/gcc-13.1.0-r1/gcc-13.1.0/gcc/fold-const.cc:2627 0x6e5753 pop_init_level(unsigned int, int, obstack*, unsigned int) /usr/src/debug/sys-devel/gcc-13.1.0-r1/gcc-13.1.0/gcc/c/c-typeck.cc:9382 0x1f0d141 c_parser_braced_init /usr/src/debug/sys-devel/gcc-13.1.0-r1/gcc-13.1.0/gcc/c/c-parser.cc:5775 0x1ef2857 c_parser_initializer /usr/src/debug/sys-devel/gcc-13.1.0-r1/gcc-13.1.0/gcc/c/c-parser.cc:5675 0x1edc23a c_parser_declaration_or_fndef /usr/src/debug/sys-devel/gcc-13.1.0-r1/gcc-13.1.0/gcc/c/c-parser.cc:2564 0x1edb817 c_parser_external_declaration /usr/src/debug/sys-devel/gcc-13.1.0-r1/gcc-13.1.0/gcc/c/c-parser.cc:1925 0x1ed7028 c_parser_translation_unit /usr/src/debug/sys-devel/gcc-13.1.0-r1/gcc-13.1.0/gcc/c/c-parser.cc:1779 0x1ed7028 c_parse_file() /usr/src/debug/sys-devel/gcc-13.1.0-r1/gcc-13.1.0/gcc/c/c-parser.cc:24632 0x1ecf431 c_common_parse_file() /usr/src/debug/sys-devel/gcc-13.1.0-r1/gcc-13.1.0/gcc/c-family/c-opts.cc:1248 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://bugs.gentoo.org/> for instructions. ```
next prev parent reply other threads:[~2023-04-27 2:05 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-04-04 16:12 [Bug c/109412] New: [13 Regression] ICE in fold_convert_loc, at fold-const.cc:2627 gscfq@t-online.de 2023-04-04 16:39 ` [Bug c/109412] " mpolacek at gcc dot gnu.org 2023-04-04 17:19 ` joseph at codesourcery dot com 2023-04-13 10:29 ` jakub at gcc dot gnu.org 2023-04-26 6:58 ` [Bug c/109412] [13/14 " rguenth at gcc dot gnu.org 2023-04-27 2:05 ` sjames at gcc dot gnu.org [this message] 2023-04-27 9:36 ` [Bug c/109412] [13/14 Regression] ICE in fold_convert_loc, at fold-const.cc:2627 since r13-2205-g14cfa01755a66a cvs-commit at gcc dot gnu.org 2023-04-27 9:41 ` cvs-commit at gcc dot gnu.org 2023-04-27 9:42 ` jakub 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-109412-4-2HXDJRBwod@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).