Skip to content
Snippets Groups Projects
Commit ae614b8a authored by Patrick Palka's avatar Patrick Palka
Browse files

c++: redundant hashing in register_specialization


After r15-4050-g5dad738c1dd164 register_specialization needs to set
elt.hash to the (maybe) precomputed hash so that the lookup uses it
rather than redundantly computing it from scratch.

gcc/cp/ChangeLog:

	* pt.cc (register_specialization): Set elt.hash.

Reviewed-by: default avatarJason Merrill <jason@redhat.com>
parent 4e80432c
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment