r259713 - in /branches/gcc-8-branch/gcc: cp/Cha...
jason@gcc.gnu.org
jason@gcc.gnu.org
Fri Apr 27 15:06:00 GMT 2018
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
More information about the Gcc-cvs
mailing list