This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r249088 - in /trunk/gcc/cp: ChangeLog call.c co...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sat, 10 Jun 2017 00:40:44 -0000
- Subject: r249088 - in /trunk/gcc/cp: ChangeLog call.c co...
Author: jason
Date: Sat Jun 10 00:40:44 2017
New Revision: 249088
URL: https://gcc.gnu.org/viewcvs?rev=249088&root=gcc&view=rev
Log:
Overhaul pointer-to-member conversion and template argument handling.
* call.c (standard_conversion): Avoid creating ck_pmem when the
class type is the same.
* cvt.c (can_convert_qual): Split from
perform_qualification_conversions.
* constexpr.c (cxx_eval_constant_expression): Check it.
* typeck.c (convert_ptrmem): Only cplus_expand_constant if
adjustment is necessary.
* pt.c (check_valid_ptrmem_cst_expr): Compare class types.
(convert_nontype_argument): Avoid redundant error.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
trunk/gcc/cp/constexpr.c
trunk/gcc/cp/cp-tree.h
trunk/gcc/cp/cvt.c
trunk/gcc/cp/pt.c
trunk/gcc/cp/typeck.c