pt.c (tsubst_decl): In unevaluated operand, don't tsubst DECL_INITIAL unless our...
authorJason Merrill <jason@redhat.com>
Wed, 29 Jun 2011 21:19:22 +0000 (17:19 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 29 Jun 2011 21:19:22 +0000 (17:19 -0400)
commit3fe98897323ab6672dcfb765272fbdb2bdab1015
treede9b852c9bb9dd444b2a9126987b7f662c2cf266
parent4c2d93dbfaae5ec5a86d903cc1383c2558c0156e
pt.c (tsubst_decl): In unevaluated operand, don't tsubst DECL_INITIAL unless our type use auto.

* pt.c (tsubst_decl) [VAR_DECL]: In unevaluated operand,
don't tsubst DECL_INITIAL unless our type use auto.

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