re PR c++/63207 (ICE in expand_expr_real_l when instantiating a template with a lambd...
authorJason Merrill <jason@redhat.com>
Fri, 10 Oct 2014 03:28:18 +0000 (23:28 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 10 Oct 2014 03:28:18 +0000 (23:28 -0400)
commit548cb3d77c81104778f4cbc4d97410cb31a64971
tree5e470a495fe25b3226b27b25383860487fe618cf
parent018e891a75501d357d3035d0e7ee6f98fd390887
re PR c++/63207 (ICE in expand_expr_real_l when instantiating a template with a lambda that captures a const variable with a dependent initializer)

PR c++/63207
* semantics.c (outer_var_p): Non-static.
(process_outer_var_ref): Split out from finish_id_expression.
* pt.c (tsubst_copy_and_build): Call them.
* cp-tree.h: Declare them.

From-SVN: r216056
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/pt.c
gcc/cp/semantics.c
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-const4.C [new file with mode: 0644]