[Bug c++/64359] [5 Regression] alias_template_specialization_p & template_args_equal show up high in profile
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Dec 21 05:01:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64359
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Sun Dec 21 05:00:43 2014
New Revision: 218995
URL: https://gcc.gnu.org/viewcvs?rev=218995&root=gcc&view=rev
Log:
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.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
More information about the Gcc-bugs
mailing list