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

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Tue May  7 15:45:59 2019
New Revision: 270959

URL: https://gcc.gnu.org/viewcvs?rev=270959&root=gcc&view=rev
Log:
PR libstdc++/89629 fix _Hash_bytes for lengths > INT_MAX

Backport from mainline
2019-03-11  Jonathan Wakely  <jwak...@redhat.com>

        PR libstdc++/89629
        * libsupc++/hash_bytes.cc [__SIZEOF_SIZE_T__ == 8] (_Hash_bytes):
        Use correct type for len_aligned.
        * testsuite/20_util/hash/89629.cc: New test.

Added:
    branches/gcc-8-branch/libstdc++-v3/testsuite/20_util/hash/89629.cc
Modified:
    branches/gcc-8-branch/libstdc++-v3/ChangeLog
    branches/gcc-8-branch/libstdc++-v3/libsupc++/hash_bytes.cc

Reply via email to