https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96710

--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>:

https://gcc.gnu.org/g:57b9afc9dad76f529969c548214b65dfe43652a7

commit r16-2253-g57b9afc9dad76f529969c548214b65dfe43652a7
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Fri May 16 13:33:23 2025 +0100

    libstdc++: Ensure std::hash<__int128> is defined [PR96710]

    This is a follow-up to r16-2190-g4faa42ac0dee2c which ensures that
    std::hash is always enabled for signed and unsigned __int128. The
    standard requires std::hash to be enabled for all arithmetic types.

    libstdc++-v3/ChangeLog:

            PR libstdc++/96710
            * include/bits/functional_hash.h (hash<__int128>): Define for
            strict modes.
            (hash<unsigned __int128>): Likewise.
            * testsuite/20_util/hash/int128.cc: New test.

    Reviewed-by: Tomasz KamiÅski <tkami...@redhat.com>

Reply via email to