pt.c (tsubst_copy): Don't call tsubst for local variables, look them up instead.
authorJason Merrill <jason@redhat.com>
Thu, 11 Apr 2013 15:51:40 +0000 (11:51 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 11 Apr 2013 15:51:40 +0000 (11:51 -0400)
commitffe0f557a7913be8b229e8fe9fd3dea7af0f158d
tree05813c0fdc3e2b450d3ac9076fde811cb7cbed7a
parent0a3763018e63de8cee68d98f877221275adb42bc
pt.c (tsubst_copy): Don't call tsubst for local variables, look them up instead.

* pt.c (tsubst_copy) [VAR_DECL]: Don't call tsubst for
local variables, look them up instead.
(tsubst_decl) [VAR_DECL]: Remove handling for anonymous union
proxies and substitution in unevaluated context.
(tsubst_expr) [OMP_FOR]: Instantiate OMP_FOR_PRE_BODY
before the iterators.

From-SVN: r197811
gcc/cp/ChangeLog
gcc/cp/pt.c