[Bug libstdc++/104945] std::hash ignores the top 32 bits when size_t is 32 bit

2022-03-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104945 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2022-03-16 Keywords|

[Bug libstdc++/104945] std::hash ignores the top 32 bits when size_t is 32 bit

2022-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104945 --- Comment #1 from Andrew Pinski --- Yes this is definitely an issue I think: // Explicit specializations for integer types. #define _Cxx_hashtable_define_trivial_hash(_Tp) \ template<>\