OSDN Git Service

* pt.c (reregister_specialization): Use htab_find instead of
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 9 Oct 2011 09:35:23 +0000 (09:35 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 9 Oct 2011 09:35:23 +0000 (09:35 +0000)
commit11d79063da416f34d6371a5f957ea6a13732bc05
treeb0e08f6eaaa605da771f30c5d5b71d1ed41d500c
parentbd97209dbf9f56645f267b9f80b59f4cc33bebcd
* pt.c (reregister_specialization): Use htab_find instead of
htab_find_slot with INSERT.
(maybe_process_partial_specialization, lookup_template_class_1): Change
slot variable type to void ** to avoid aliasing problems.
(register_specialization): Likewise.  Use slot != NULL instead of
more expensive !optimize_specialization_lookup_p (tmpl) test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179719 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/pt.c