Closed
Description
I found that many hash functions in rustc follow this template:
ret foo << 16u + bar;
but by the order of precedence this yields foo << (16u + bar)
, almost certainly not what was intended. This interacts quite poorly with our hash tables which prefer low-order bits to not be all 0. We need to search through the code and check for similar problems, then close this bug.
Metadata
Metadata
Assignees
Labels
No labels