This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r237233 - in /branches/gcc-6-branch/gcc: cp/Cha...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 08 Jun 2016 18:00:30 -0000
- Subject: r237233 - in /branches/gcc-6-branch/gcc: cp/Cha...
Author: jakub
Date: Wed Jun 8 18:00:30 2016
New Revision: 237233
URL: https://gcc.gnu.org/viewcvs?rev=237233&root=gcc&view=rev
Log:
PR c++/71442
* pt.c (tsubst_copy): Only set TREE_USED on DECLs.
* g++.dg/cpp0x/Wunused-variable-1.C: New test.
Added:
branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp0x/Wunused-variable-1.C
Modified:
branches/gcc-6-branch/gcc/cp/ChangeLog
branches/gcc-6-branch/gcc/cp/pt.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog