public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jyhgekyfbkjsyebf at protonmail dot ch" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/102307] New: internal compiler error: in reshape_init_r, at cp/decl.c:6717
Date: Mon, 13 Sep 2021 14:21:26 +0000	[thread overview]
Message-ID: <bug-102307-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 102307
           Summary: internal compiler error: in reshape_init_r, at
                    cp/decl.c:6717
           Product: gcc
           Version: 11.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jyhgekyfbkjsyebf at protonmail dot ch
  Target Milestone: ---

Created attachment 51449
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51449&action=edit
Minimal reproducible example

The following minimal reproducible example crashes the compiler:

```
#include <array>
template <unsigned N, unsigned M> struct Matrix {
  Matrix(double const (&arr)[N][M]);
  constexpr Matrix(std::array<std::array<double, M>, N> const &arr);
};
int main() { constexpr Matrix<2, 3> mat{{{1.0, 2.0, 3.0}, {4.0, 5.0, 6.0}}}; }
```

Find attached: this example, basic information about compiler and backtrace,
.ii file, .s file.

             reply	other threads:[~2021-09-13 14:21 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-13 14:21 jyhgekyfbkjsyebf at protonmail dot ch [this message]
2021-09-13 14:21 ` [Bug c++/102307] " jyhgekyfbkjsyebf at protonmail dot ch
2021-09-13 14:22 ` jyhgekyfbkjsyebf at protonmail dot ch
2021-09-13 14:22 ` jyhgekyfbkjsyebf at protonmail dot ch
2021-09-13 15:01 ` jyhgekyfbkjsyebf at protonmail dot ch
2021-09-13 15:32 ` [Bug c++/102307] internal compiler error: in reshape_init_r, at cp/decl.c:6717 since r10-6388-ge98ebda074bf8fc5 marxin at gcc dot gnu.org
2021-09-13 15:34 ` [Bug c++/102307] [10/11/12 Regression] internal compiler error: in reshape_init_r, at cp/decl.c:6717 pinskia at gcc dot gnu.org
2021-09-13 15:35 ` [Bug c++/102307] [10/11/12 Regression] internal compiler error: in reshape_init_r since r10-6388-ge98ebda074bf8fc5 pinskia at gcc dot gnu.org
2021-09-13 17:57 ` jyhgekyfbkjsyebf at protonmail dot ch
2021-09-14  6:51 ` rguenth at gcc dot gnu.org
2022-04-26 15:14 ` jason at gcc dot gnu.org
2022-05-17 22:09 ` [Bug c++/102307] [10/11/12/13 " cvs-commit at gcc dot gnu.org
2022-05-25 16:59 ` [Bug c++/102307] [10/11/12 " cvs-commit at gcc dot gnu.org
2022-05-31 19:31 ` cvs-commit at gcc dot gnu.org
2022-05-31 19:36 ` [Bug c++/102307] [10/11 " cvs-commit at gcc dot gnu.org
2022-05-31 19:37 ` jason 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-102307-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: 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).