aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2ctf.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2020-11-25 17:05:24 -0500
committerJason Merrill <jason@redhat.com>2020-12-04 17:47:05 -0500
commita95753214b55d21e5b44eeb098cccf88d44c94dd (patch)
treebaf54176edc281d78bf9eb314bb06b74aa59a089 /gcc/dwarf2ctf.c
parentdf933e307b1950ce12472660dcac1765b8eb431d (diff)
downloadgcc-a95753214b55d21e5b44eeb098cccf88d44c94dd.zip
gcc-a95753214b55d21e5b44eeb098cccf88d44c94dd.tar.gz
gcc-a95753214b55d21e5b44eeb098cccf88d44c94dd.tar.bz2
c++: Fix deduction from auto template parameter [PR93083]
The check in do_class_deduction to handle passing one class placeholder template parm as an argument for itself needed to be extended to also handle equivalent parms from other templates. gcc/cp/ChangeLog: PR c++/93083 * pt.c (convert_template_argument): Handle equivalent placeholders. (do_class_deduction): Look through EXPR_PACK_EXPANSION, too. gcc/testsuite/ChangeLog: PR c++/93083 * g++.dg/cpp2a/nontype-class40.C: New test.
Diffstat (limited to 'gcc/dwarf2ctf.c')
0 files changed, 0 insertions, 0 deletions