PR c++/77369 - wrong noexcept handling in C++14 and below