aboutsummaryrefslogtreecommitdiff
path: root/gcc/omp-low.c
diff options
context:
space:
mode:
authorkamlesh kumar <kamleshbhalui@gmail.com>2020-11-02 20:40:21 +0530
committerJason Merrill <jason@redhat.com>2020-11-03 14:36:24 -0500
commited7f9957bbb5e899099e1ef0e5f6234c453ef7da (patch)
treee234f66f71aead87f0e5a3feab0f35759ee690ef /gcc/omp-low.c
parenta2058f5812bea3673859a68f9bfea61dbce6730f (diff)
downloadgcc-ed7f9957bbb5e899099e1ef0e5f6234c453ef7da.zip
gcc-ed7f9957bbb5e899099e1ef0e5f6234c453ef7da.tar.gz
gcc-ed7f9957bbb5e899099e1ef0e5f6234c453ef7da.tar.bz2
c++: DR2303, ambiguous base deduction [PR97453]
When there are two possible matches and one is a base of the other, choose the derived class rather than fail. gcc/cp/ChangeLog 2020-10-21 Kamlesh Kumar <kamleshbhalui@gmail.com> Jason Merrill <jason@redhat.com> PR c++/97453 DR2303 * pt.c (get_template_base): Consider closest base in template deduction when base of base also matches. gcc/testsuite/ChangeLog 2020-10-21 Kamlesh Kumar <kamleshbhalui@gmail.com> * g++.dg/DRs/dr2303.C: New test.
Diffstat (limited to 'gcc/omp-low.c')
0 files changed, 0 insertions, 0 deletions