public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/102594] New: ICE in decay_conversion, at cp/typeck.c:2311 Date: Mon, 04 Oct 2021 18:40:33 +0000 [thread overview] Message-ID: <bug-102594-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102594 Bug ID: 102594 Summary: ICE in decay_conversion, at cp/typeck.c:2311 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gscfq@t-online.de Target Milestone: --- Started with r8 : $ cat z1.cc struct s { s() {} }; s a[1][1]; auto [b](a); $ g++-12-20211003 -c z1.cc z1.cc:5:11: internal compiler error: Segmentation fault 5 | auto [b](a); | ^ 0xe17d4f crash_signal ../../gcc/toplev.c:331 0x92719a decay_conversion(tree_node*, int, bool) ../../gcc/cp/typeck.c:2311 0x80f80a build_vec_init(tree_node*, tree_node*, tree_node*, bool, int, int) ../../gcc/cp/init.c:4297 0x81012f build_vec_init(tree_node*, tree_node*, tree_node*, bool, int, int) ../../gcc/cp/init.c:4528 0x81062b build_aggr_init(tree_node*, tree_node*, int, int) ../../gcc/cp/init.c:1823 0x7ee8ed build_aggr_init_full_exprs ../../gcc/cp/decl.c:7048 0x7ee8ed check_initializer ../../gcc/cp/decl.c:7209 0x7efbb1 cp_finish_decl(tree_node*, tree_node*, bool, tree_node*, int) ../../gcc/cp/decl.c:8211 0x88ecbc cp_parser_decomposition_declaration ../../gcc/cp/parser.c:15427 0x88ecbc cp_parser_simple_declaration ../../gcc/cp/parser.c:15066 0x8b642f cp_parser_declaration ../../gcc/cp/parser.c:14828 0x8b6ebb cp_parser_translation_unit ../../gcc/cp/parser.c:4987 0x8b6ebb c_parse_file() ../../gcc/cp/parser.c:47774 0x988802 c_common_parse_file() ../../gcc/c-family/c-opts.c:1237
next reply other threads:[~2021-10-04 18:40 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-10-04 18:40 gscfq@t-online.de [this message] 2021-10-11 8:15 ` [Bug c++/102594] ICE in decay_conversion, at cp/typeck.c:2311 since r8-7514-ge278212eeea4f57d marxin at gcc dot gnu.org 2021-10-17 20:10 ` pinskia 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-102594-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).