r237234 - in /branches/gcc-5-branch/gcc: cp/Cha...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Wed Jun 8 18:05:00 GMT 2016
Author: jakub
Date: Wed Jun 8 18:05:38 2016
New Revision: 237234
URL: https://gcc.gnu.org/viewcvs?rev=237234&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-5-branch/gcc/testsuite/g++.dg/cpp0x/Wunused-variable-1.C
Modified:
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/pt.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list