/cp
commita8b52ce38f3056e464457ba1e95efa25a8f08d07
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 12 Jun 2013 21:36:36 +0000 (12 21:36 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 12 Jun 2013 21:36:36 +0000 (12 21:36 +0000)
tree945e6c45c18be6d4f64d894b68af55361fa825c7
parent1a7e2e526c70c36d5f97f4ae4f27147d7e59e3c4
/cp
2013-06-12  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/38958
* decl.c (poplevel): For the benefit of -Wunused-variable see
through references.

/testsuite
2013-06-12  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/38958
* g++.dg/warn/Wunused-var-20.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200042 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/Wunused-var-20.C [new file with mode: 0644]