See <https://wg21.link/p2615>. This resolves CWG2443.
Proposed patch here: https://gcc.gnu.org/pipermail/gcc-patches/2024-March/647120.html