PR c++/53599
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 Jun 2012 18:32:04 +0000 (18:32 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 Jun 2012 18:32:04 +0000 (18:32 +0000)
commitc9e4cdb59a541fd5006983923adfcbb406533f3a
tree80e3be6314fbf654191d8c01e090f396c9f34812
parent5c6001e5ce8261535438e1b5ad621452b039dac6
PR c++/53599
* name-lookup.c (pushtag_1): Add a DECL_EXPR for a local class.
* semantics.c (finish_cond): Build a COMPOUND_EXPR.
* pt.c (tsubst_expr) [COMPOUND_EXPR]: Handle.
[DECL_EXPR]: Don't call cp_finish_decl for an implicit typedef.
Don't return the decl.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188473 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/cp/pt.c
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/local7.C [new file with mode: 0644]