aboutsummaryrefslogtreecommitdiff
path: root/gcc/d
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2021-04-02 17:07:12 -0400
committerJason Merrill <jason@redhat.com>2021-04-03 01:54:03 -0400
commit7c3ba2145ceddb0fd7f85fbf27f8db81896527d1 (patch)
treef6c3d402642234abfc995eac5aa0e229dc4709dc /gcc/d
parent23be03a0f243a084a0fe03d0b96a3d045e1a2b65 (diff)
downloadgcc-7c3ba2145ceddb0fd7f85fbf27f8db81896527d1.zip
gcc-7c3ba2145ceddb0fd7f85fbf27f8db81896527d1.tar.gz
gcc-7c3ba2145ceddb0fd7f85fbf27f8db81896527d1.tar.bz2
c++: PMF template parm and noexcept [PR90664]
The constexpr code only wants to preserve PTRMEM_CST in conversions if the conversions are only qualification conversions; dropping noexcept counts as a qualification adjustment in overload resolution, so let's include it here. gcc/cp/ChangeLog: PR c++/90664 * cvt.c (can_convert_qual): Check fnptr_conv_p. gcc/testsuite/ChangeLog: PR c++/90664 * g++.dg/cpp1z/noexcept-type24.C: New test.
Diffstat (limited to 'gcc/d')
0 files changed, 0 insertions, 0 deletions