https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90664
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-9 branch has been updated by Jason Merrill <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:45fb36bf93a7cc6506c2a12f9c4aa3981f4e6b44 commit r9-10167-g45fb36bf93a7cc6506c2a12f9c4aa3981f4e6b44 Author: Jason Merrill <ja...@redhat.com> Date: Fri Apr 2 17:07:12 2021 -0400 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.