This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r250816 - in /trunk/gcc: cp/ChangeLog cp/call.c...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 02 Aug 2017 07:28:22 -0000
- Subject: r250816 - in /trunk/gcc: cp/ChangeLog cp/call.c...
Author: jakub
Date: Wed Aug 2 07:28:21 2017
New Revision: 250816
URL: https://gcc.gnu.org/viewcvs?rev=250816&root=gcc&view=rev
Log:
PR c++/81640
* call.c (build_user_type_conversion_1): Only call
lookup_fnfields_slot if totype is CLASS_TYPE_P.
* g++.dg/warn/Wshadow-compatible-local-2.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/warn/Wshadow-compatible-local-2.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
trunk/gcc/testsuite/ChangeLog