https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90664

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jason Merrill <ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:7c3ba2145ceddb0fd7f85fbf27f8db81896527d1

commit r11-7966-g7c3ba2145ceddb0fd7f85fbf27f8db81896527d1
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.

Reply via email to