https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109030
Bug ID: 109030 Summary: ICE in cxx_eval_call_expression with aggregate initialization inside noexcept Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ppalka at gcc dot gnu.org Target Milestone: --- $ cat test_execute.ii struct foo { }; struct __as_receiver { foo empty_env; }; void sched(foo __fun) noexcept(noexcept(__as_receiver{__fun})) { } $ g++ test_execute.ii test_execute.ii:7:60: internal compiler error: in cxx_eval_call_expression, at cp/constexpr.cc:2871 7 | void sched(foo __fun) noexcept(noexcept(__as_receiver{__fun})) { } | ^