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++/109966] [13/14 Regression] ICE in implify_var_or_parm_decl, à gimplify.cc:3058
Date: Thu, 25 May 2023 16:22:09 +0000	[thread overview]
Message-ID: <bug-109966-4-TipEGts338@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-109966-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109966

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
// PR c++/109966

struct M;
template <int _Nm> struct __array_traits {
  typedef M _Type[_Nm];
};
template <int _Nm> struct array {
  typename __array_traits<_Nm>::_Type _M_elems;
};
struct basic_string_view {
  basic_string_view(const char *);
};
struct M {
  basic_string_view name;
  int j = 42;
  int default_value = j;
};
struct S {
  array<3> arr{M{""}, {""}, {""}};
} o;

  parent reply	other threads:[~2023-05-25 16:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-25 12:20 [Bug c++/109966] New: [13.1 " averne381 at gmail dot com
2023-05-25 12:32 ` [Bug c++/109966] [13/14 " rguenth at gcc dot gnu.org
2023-05-25 15:11 ` mpolacek at gcc dot gnu.org
2023-05-25 16:22 ` mpolacek at gcc dot gnu.org [this message]
2023-05-25 18:32 ` pinskia at gcc dot gnu.org
2023-07-27  9:26 ` rguenth at gcc dot gnu.org
2024-03-11 17:59 ` [Bug c++/109966] [13/14 Regression] ICE in gimplify_var_or_parm_decl, " mpolacek at gcc dot gnu.org
2024-04-24 13:14 ` [Bug c++/109966] [13 " mpolacek 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-109966-4-TipEGts338@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: link
Be 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).