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++/98295] New: [9/10/11 Regression] ICE in verify_ctor_sanity, at cp/constexpr.c:4312 Date: Tue, 15 Dec 2020 17:21:41 +0000 [thread overview] Message-ID: <bug-98295-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98295 Bug ID: 98295 Summary: [9/10/11 Regression] ICE in verify_ctor_sanity, at cp/constexpr.c:4312 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gscfq@t-online.de Target Milestone: --- Affects versions down to r7 : $ cat z1.cc struct A { constexpr A(); }; void f () { A b[2][3]; [b] {}; } $ g++-11-20201213 -c z1.cc z1.cc: In function 'void f()': z1.cc:5:3: internal compiler error: in verify_ctor_sanity, at cp/constexpr.c:4312 5 | [b] {}; | ^~~~~~ 0x67c29d verify_ctor_sanity ../../gcc/cp/constexpr.c:4306 0x689c3c cxx_eval_bare_aggregate ../../gcc/cp/constexpr.c:4342 0x681259 cxx_eval_constant_expression ../../gcc/cp/constexpr.c:6574 0x682adc cxx_eval_array_reference ../../gcc/cp/constexpr.c:3763 0x682adc cxx_eval_constant_expression ../../gcc/cp/constexpr.c:6498 0x681041 cxx_eval_array_reference ../../gcc/cp/constexpr.c:3659 0x681041 cxx_eval_constant_expression ../../gcc/cp/constexpr.c:6498 0x6833cd cxx_eval_constant_expression ../../gcc/cp/constexpr.c:6205 0x68a33a cxx_eval_vec_init_1 ../../gcc/cp/constexpr.c:4548 0x68a417 cxx_eval_vec_init_1 ../../gcc/cp/constexpr.c:4524 0x681d76 cxx_eval_vec_init ../../gcc/cp/constexpr.c:4599 0x681d76 cxx_eval_constant_expression ../../gcc/cp/constexpr.c:6584 0x683eab cxx_eval_outermost_constant_expr ../../gcc/cp/constexpr.c:7126 0x686e7f maybe_constant_init_1 ../../gcc/cp/constexpr.c:7578 0x7db5ce massage_init_elt ../../gcc/cp/typeck2.c:1309 0x7da80f process_init_constructor_record ../../gcc/cp/typeck2.c:1528 0x7da80f process_init_constructor ../../gcc/cp/typeck2.c:1806 0x7da80f digest_init_r ../../gcc/cp/typeck2.c:1195 0x7a0e36 finish_compound_literal(tree_node*, tree_node*, int, fcl_t) ../../gcc/cp/semantics.c:3001 0x6f1074 build_lambda_object(tree_node*) ../../gcc/cp/lambda.c:118
next reply other threads:[~2020-12-15 17:21 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-12-15 17:21 gscfq@t-online.de [this message] 2020-12-15 18:20 ` [Bug c++/98295] " mpolacek at gcc dot gnu.org 2020-12-15 18:26 ` [Bug c++/98295] [8/9/10/11 " mpolacek at gcc dot gnu.org 2021-01-04 15:15 ` rguenth at gcc dot gnu.org 2021-01-21 11:56 ` jakub at gcc dot gnu.org 2021-01-27 16:56 ` jakub at gcc dot gnu.org 2021-01-27 18:54 ` ppalka at gcc dot gnu.org 2021-02-01 15:29 ` cvs-commit at gcc dot gnu.org 2021-02-01 15:30 ` [Bug c++/98295] [8/9/10 " ppalka at gcc dot gnu.org 2021-02-02 5:38 ` cvs-commit at gcc dot gnu.org 2021-02-02 20:11 ` ppalka 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-98295-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).