]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR c++/63657
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 22 Nov 2014 02:21:35 +0000 (02:21 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 22 Nov 2014 02:21:35 +0000 (02:21 +0000)
commit50a502fff6359a4911b0f205138d8bc0c1a15000
tree93241554a7aa78477ab871948ae4a4c3e2a615e6
parent422aeca3f3662b51edb7240f11b2e112c221428b
PR c++/63657
PR c++/38958
* call.c (set_up_extended_ref_temp): Set TREE_USED on the reference
if the temporary has a non-trivial destructor.
* decl.c (poplevel): Don't look through references.

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