public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/108503] [13 Regression] ICE in get_array_or_vector_nelts, at cp/constexpr.cc:4119 Date: Wed, 25 Jan 2023 13:45:50 +0000 [thread overview] Message-ID: <bug-108503-4-NyWGlqqru2@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-108503-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108503 --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 54341 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54341&action=edit gcc13-pr108503.patch This hack works around it, by pretending the VAR_DECLs don't have DECL_VALUE_EXPR between the deduction of the type and actually finalizing their DECL_VALUE_EXPR (for !processing_template_decl only where we do the deduction with temporarily incremented processing_template_decl).
next prev parent reply other threads:[~2023-01-25 13:45 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-01-23 17:49 [Bug c++/108503] New: " gscfq@t-online.de 2023-01-24 0:48 ` [Bug c++/108503] " pinskia at gcc dot gnu.org 2023-01-24 9:08 ` rguenth at gcc dot gnu.org 2023-01-24 16:24 ` jason at gcc dot gnu.org 2023-01-24 16:30 ` jakub at gcc dot gnu.org 2023-01-25 13:45 ` jakub at gcc dot gnu.org [this message] 2023-01-26 9:48 ` cvs-commit at gcc dot gnu.org 2023-01-26 10:25 ` 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-108503-4-NyWGlqqru2@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).