public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/104068] ICE Segmentation fault with type alias Date: Fri, 20 Oct 2023 15:04:32 +0000 [thread overview] Message-ID: <bug-104068-4-PTIORuFWt7@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-104068-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104068 Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org --- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Still ICEs: old.C: In instantiation of ‘struct view<traits<int> >’: old.C:41:17: required from here 41 | template struct view<traits<int>>; | ^~~~~~~~~~~~~~~~~ old.C:35:48: internal compiler error: tree check: accessed elt 2 of ‘tree_vec’ with 1 elts in tsubst, at cp/pt.cc:16139 35 | constexpr view_with_extent<Traits, Extent> subview(constant<size_type, Extent>) const noexcept | ^~~~~~~ 0x1e20b6d tree_vec_elt_check_failed(int, int, char const*, int, char const*) /home/mpolacek/src/gcc/gcc/tree.cc:9148 0xd4be56 tree_vec_elt_check(tree_node*, int, char const*, int, char const*) /home/mpolacek/src/gcc/gcc/tree.h:3849 0x10afc84 tsubst(tree_node*, tree_node*, int, tree_node*) /home/mpolacek/src/gcc/gcc/cp/pt.cc:16139 0x10b7e23 tsubst_copy /home/mpolacek/src/gcc/gcc/cp/pt.cc:17867 0x10cfbcc tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*) /home/mpolacek/src/gcc/gcc/cp/pt.cc:21884 0x10c5cce tsubst_expr(tree_node*, tree_node*, int, tree_node*) /home/mpolacek/src/gcc/gcc/cp/pt.cc:19927 0x109a63f tsubst_template_arg(tree_node*, tree_node*, int, tree_node*) /home/mpolacek/src/gcc/gcc/cp/pt.cc:12627
prev parent reply other threads:[~2023-10-20 15:04 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-01-17 14:23 [Bug c++/104068] New: " marc.rivinius.sec at gmail dot com 2022-01-17 15:01 ` [Bug c++/104068] " marxin at gcc dot gnu.org 2023-10-20 15:04 ` mpolacek at gcc dot gnu.org [this message]
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-104068-4-PTIORuFWt7@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).