https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109899
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2023-05-17
Keywords| |ice-on-valid-code
Target Milestone|--- |12.4
Known to work| |11.3.0
Summary|ICE in check_noexcept_r, at |[12/13/14 Regression] ICE
|cp/except.cc:1065 |in check_noexcept_r, at
| |cp/except.cc:1065
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
Known to fail| |12.1.0
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Reduced testcase to this valid testcase:
```
class class0 {
~class0() noexcept {}
friend class class1;
};
struct class1 {
class0 field0;
class1();
~class1();
};
template <typename T> using array = T[1];
template <int N>
auto f1() noexcept
-> decltype(sizeof(array<class1>{}));
```