aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@redhat.com>2023-07-18 09:21:40 -0400
committerPatrick Palka <ppalka@redhat.com>2023-07-18 09:21:40 -0400
commit1e0f37df1b12cd91a6dbb523f5c722f9a961edaa (patch)
treec5d0e63652a0dafb392478045cddc418c6b83156 /libgcc
parent054e93b8757a2d619a528f7dd1b8580cce13c713 (diff)
downloadgcc-1e0f37df1b12cd91a6dbb523f5c722f9a961edaa.zip
gcc-1e0f37df1b12cd91a6dbb523f5c722f9a961edaa.tar.gz
gcc-1e0f37df1b12cd91a6dbb523f5c722f9a961edaa.tar.bz2
c++: constrained surrogate call functions [PR110535]
We weren't checking constraints on pointer/reference-to-function conversion functions during overload resolution, which caused us to ICE on the first testcase and reject the second testcase. PR c++/110535 gcc/cp/ChangeLog: * call.cc (add_conv_candidate): Check constraints. gcc/testsuite/ChangeLog: * g++.dg/cpp2a/concepts-surrogate1.C: New test. * g++.dg/cpp2a/concepts-surrogate2.C: New test.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions