https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87845
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2019-06-07 CC| |aoliva at gcc dot gnu.org, | |hubicka at gcc dot gnu.org, | |steven at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- Huh, and ::hash is just a UID in some cases? It feels like we're mixing values and expressions in the same hashtable but only for expressions hashing makes sense, for values you'd rather use an array where you then do the lookup doing the walk over locs? That is, you want a hash-map, mapping expressions to values and the values then contain the list of all expressions with this value. Broken data structure? CCing two more people based on frequence of editing cselib.c (Jakub wins, Richard is second...).