https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115558
Bug ID: 115558 Summary: Trivial noexcept(false) default constructor does not make value initialization potentially throwing Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: mital at mitalashok dot co.uk Target Milestone: --- This is related to DR2820 https://cplusplus.github.io/CWG/issues/2820.html struct X { X() noexcept(false) = default; }; static_assert(!noexcept(X())); // Should pass, but does not Similar to Bug 114844 and https://cplusplus.github.io/CWG/issues/2886.html