[Bug c++/108116] [12/13 Regression] ICE in check_noexcept_r, at cp/except.cc:1074 since r12-6897-gdec8d0e5fa00ceb2
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 15 10:50:27 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108116
--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
Reduced test-case:
namespace std {
template <class> struct initializer_list {
int *_M_array;
unsigned long _M_len;
};
struct c {
c(int);
~c();
};
struct d {
d(initializer_list<c>);
};
struct e {
d f{0};
};
template <typename> void h() {
e {};
};
}
More information about the Gcc-bugs
mailing list