This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/59406] functions labelled FNV-1a in tr1/functional_hash.h are not FNV-1a


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

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Tue Nov 15 20:17:39 2016
New Revision: 242454

URL: https://gcc.gnu.org/viewcvs?rev=242454&root=gcc&view=rev
Log:
PR 59406 note that FNV hash functions are incorrect

        PR libstdc++/59406
        * include/bits/functional_hash.h: Add comment noting difference from
        FNV-1a.
        * include/tr1/functional_hash.h: Likewise.
        * libsupc++/hash_bytes.cc: Likewise.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/functional_hash.h
    trunk/libstdc++-v3/include/tr1/functional_hash.h
    trunk/libstdc++-v3/libsupc++/hash_bytes.cc

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]