re PR c++/60992 (ICE in tsubst_copy, at cp/pt.c:12637)
authorJason Merrill <jason@redhat.com>
Fri, 30 May 2014 15:09:40 +0000 (11:09 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 30 May 2014 15:09:40 +0000 (11:09 -0400)
commitd1a902a2d56e27596f092189adee184da69ad3ea
tree1b58c907a8d9915d5c59be98bbf9e8aaebb3902f
parent7480a39b770374d5355c60804dd8cc99a8a65a83
re PR c++/60992 (ICE in tsubst_copy, at cp/pt.c:12637)

PR c++/60992
* pt.c (tsubst_init): Split out from...
(tsubst_expr) [DECL_EXPR]: Here.
(tsubst_copy) [VAR_DECL]: Use it.
* semantics.c (finish_id_expression): Return the decl for static/const.

From-SVN: r211084
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/cp/semantics.c