re PR c++/66387 (ICE in make_decl_rtl with lambda)
authorJason Merrill <jason@redhat.com>
Tue, 16 Jun 2015 14:48:56 +0000 (10:48 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 16 Jun 2015 14:48:56 +0000 (10:48 -0400)
commit63d02f058f0ba3c1d00c2a9f12cac86eeec00b66
treeaff7fc914e78f2fd2eb3926d7ea57cd8d43727b5
parentff09c88dd183154206764fb841a87856f5b2f94d
re PR c++/66387 (ICE in make_decl_rtl with lambda)

PR c++/66387
* pt.c (tsubst_copy) [VAR_DECL]: Use process_outer_var_ref.

From-SVN: r224521
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/cp/semantics.c
gcc/testsuite/g++.dg/cpp1y/lambda-generic-ice2.C [new file with mode: 0644]