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

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Apr 27 15:06:14 2018
New Revision: 259713

URL: https://gcc.gnu.org/viewcvs?rev=259713&root=gcc&view=rev
Log:
        PR c++/85545 - ICE with noexcept PMF conversion.

        * cvt.c (cp_fold_convert): Pass PMF CONSTRUCTORs to
        build_ptrmemfunc.
        * typeck.c (build_ptrmemfunc): Don't build a NOP_EXPR for zero
        adjustment.
        (build_ptrmemfunc_access_expr): Special-case CONSTRUCTORs.

Added:
    branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp1z/noexcept-type20.C
Modified:
    branches/gcc-8-branch/gcc/cp/ChangeLog
    branches/gcc-8-branch/gcc/cp/cvt.c
    branches/gcc-8-branch/gcc/cp/typeck.c

Reply via email to