This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r253494 - in /trunk/gcc: cp/ChangeLog cp/typeck...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 06 Oct 2017 15:43:18 -0000
- Subject: r253494 - in /trunk/gcc: cp/ChangeLog cp/typeck...
Author: jakub
Date: Fri Oct 6 15:43:17 2017
New Revision: 253494
URL: https://gcc.gnu.org/viewcvs?rev=253494&root=gcc&view=rev
Log:
P0704R1 - fixing const-qualified pointers to members
* typeck2.c (build_m_component_ref): For -std=c++2a allow
pointer to const & qualified method on rvalue.
* g++.dg/cpp2a/ptrmem1.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/cpp2a/ptrmem1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/typeck2.c
trunk/gcc/testsuite/ChangeLog