https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79590
--- Comment #2 from Vittorio Romeo <vittorio.romeo at outlook dot com> ---
This is still present. Here are some more examples:
int main()
{
[](auto x) noexcept(noexcept(x)) { } (0);
}
<source>:3:40: internal compiler error: in nothrow_spec_p, at cp/except.c:1159
[](auto x) noexcept(noexcept(x)) { } (0);
^
int main()
{
[](auto) noexcept(noexcept(0)) { } (0);
}
<source>: In function 'int main()':
<source>:3:38: internal compiler error: in nothrow_spec_p, at cp/except.c:1159
[](auto) noexcept(noexcept(0)) { } (0);
^