[Bug c++/106925] [12/13 Regression] ICE in maybe_splice_retval_cleanup at gcc/cp/except.cc:1330 since r12-8066-g4822108e61ab8790
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Sep 13 14:17:54 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106925
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|internal compiler error: |[12/13 Regression] ICE in
|Segmentation fault |maybe_splice_retval_cleanup
| |at gcc/cp/except.cc:1330
| |since
| |r12-8066-g4822108e61ab8790
Target Milestone|--- |12.3
Last reconfirmed| |2022-09-13
CC| |jason at gcc dot gnu.org,
| |marxin at gcc dot gnu.org
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Since r12-8066-g4822108e61ab8790, reduced test-case:
$ cat pr106925.ii
struct Foo;
template <int _Nm> struct __array_traits { typedef Foo _Type[_Nm]; };
template <int _Nm> struct array {
typename __array_traits<_Nm>::_Type _M_elems;
};
template <int size> struct MyVector { array<size> data{}; };
struct Foo {
float a{0};
};
void foo(MyVector<1> = MyVector<1>());
More information about the Gcc-bugs
mailing list