public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/102307] New: internal compiler error: in reshape_init_r, at cp/decl.c:6717
@ 2021-09-13 14:21 jyhgekyfbkjsyebf at protonmail dot ch
  2021-09-13 14:21 ` [Bug c++/102307] " jyhgekyfbkjsyebf at protonmail dot ch
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: jyhgekyfbkjsyebf at protonmail dot ch @ 2021-09-13 14:21 UTC (permalink / raw)
  To: gcc-bugs

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.

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2022-05-31 19:37 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-13 14:21 [Bug c++/102307] New: internal compiler error: in reshape_init_r, at cp/decl.c:6717 jyhgekyfbkjsyebf at protonmail dot ch
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

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).