aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-array-bounds.cc
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@redhat.com>2020-05-22 10:28:19 -0400
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-08-17 13:09:23 -0300
commit38564674fed5625cc328e2cf350e65754f55421e (patch)
tree1e2c000308e231f377ae5fbffb8606ce83304b7b /gcc/gimple-array-bounds.cc
parentf305283bbf9a1da4f620b5cffeec8cb74d69234a (diff)
downloadgcc-38564674fed5625cc328e2cf350e65754f55421e.zip
gcc-38564674fed5625cc328e2cf350e65754f55421e.tar.gz
gcc-38564674fed5625cc328e2cf350e65754f55421e.tar.bz2
c++: P0848R3 and member function templates [PR95181]
When comparing two special member function templates to see if one hides the other (as per P0848R3), we need to check satisfaction which we can't do on templates. So this patch makes add_method skip the eligibility test on member function templates and just lets them coexist. gcc/cp/ChangeLog: PR c++/95181 * class.c (add_method): Let special member function templates coexist if they are not equivalently constrained, or in a class template. gcc/testsuite/ChangeLog: PR c++/95181 * g++.dg/concepts/pr95181.C: New test. * g++.dg/concepts/pr95181-2.C: New test. Co-authored-by: Jason Merrill <jason@redhat.com>
Diffstat (limited to 'gcc/gimple-array-bounds.cc')
0 files changed, 0 insertions, 0 deletions