diff options
author | Jason Merrill <jason@redhat.com> | 2012-08-24 23:30:11 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2012-08-24 23:30:11 -0400 |
commit | cd057e3af0627c7528c19625bf972acde2b207fa (patch) | |
tree | 17fe7bac5c9426d507d0aa7ea093be49a6eb893d /gcc/reg-stack.c | |
parent | f581a987e3d60ad86aafa2a49b72e09b5f9cb356 (diff) | |
download | gcc-cd057e3af0627c7528c19625bf972acde2b207fa.zip gcc-cd057e3af0627c7528c19625bf972acde2b207fa.tar.gz gcc-cd057e3af0627c7528c19625bf972acde2b207fa.tar.bz2 |
PR c++/51213 (again)
PR c++/51213 (again)
* pt.c (deduction_tsubst_fntype): Remove.
(fn_type_unification): Check deduction depth and call
instantiate_template here. Handle default argument access checks.
(determine_specialization): Suppress access control.
(tsubst_decl): Check for excessive deduction depth.
(recheck_decl_substitution): Make sure access control is on.
(type_unification_real): Don't mess with access deferring here.
(get_bindings): Adjust for fn_type_unification return type.
* call.c (enum rejection_reason_code): Drop rr_template_instantiation.
(template_instantiation_rejection): Remove.
(struct rejection_reason): Change targs to num_targs.
(template_unification_rejection, print_z_candidate): Adjust.
(add_template_candidate_real): Adjust for fn_type_unification change.
* class.c (resolve_address_of_overloaded_function): Likewise.
* cp-tree.h: Adjust declaration.
From-SVN: r190664
Diffstat (limited to 'gcc/reg-stack.c')
0 files changed, 0 insertions, 0 deletions