re PR c++/64359 (alias_template_specialization_p & template_args_equal show up high...
authorJason Merrill <jason@redhat.com>
Sun, 21 Dec 2014 05:00:43 +0000 (00:00 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Sun, 21 Dec 2014 05:00:43 +0000 (00:00 -0500)
commitb9fa057537445e7ecfb2bbbfcf7ecacdc4e3ad05
tree85ffa26ec5a0fbc5e4e768b3e229b898960bb08f
parentd01cc136c175aef411ae385dfde54cebf84700d4
re PR c++/64359 (alias_template_specialization_p & template_args_equal show up high in profile)

PR c++/64359
* pt.c (iterative_hash_template_arg): Hash alias specializations
differently from their TYPE_CANONICAL.
(alias_template_specialization_p): Optimize.
(template_args_equal): Optimize alias handling.
(dependent_alias_template_spec_p): Only check innermost args.

From-SVN: r218995
gcc/cp/ChangeLog
gcc/cp/pt.c