diff options
author | Jason Merrill <jason@redhat.com> | 2014-05-02 15:47:40 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2014-05-02 15:47:40 -0400 |
commit | 43b781fac7673ac9f11105048ccc2a75c8a9f0c3 (patch) | |
tree | 5f8a43ce0d7d633ca950be8f18dfbaf9acef0cbf /gcc/tree-ssa-threadupdate.c | |
parent | 62da5a07b2f56f860e70c9bb66791ac665bf14d8 (diff) | |
download | gcc-43b781fac7673ac9f11105048ccc2a75c8a9f0c3.zip gcc-43b781fac7673ac9f11105048ccc2a75c8a9f0c3.tar.gz gcc-43b781fac7673ac9f11105048ccc2a75c8a9f0c3.tar.bz2 |
re PR c++/60992 (ICE in tsubst_copy, at cp/pt.c:12637)
PR c++/60992
* lambda.c (lambda_capture_field_type): Wrap anything dependent
other than 'this'.
(add_capture): Check for VLA before calling it.
* semantics.c (is_this_parameter): Accept any 'this' parameter, not
just the current one. Make non-static.
* cp-tree.h: Declare it.
* pt.c (tsubst_copy) [VAR_DECL]: Also build a new VAR_DECL if
the operand was static or constant.
From-SVN: r210017
Diffstat (limited to 'gcc/tree-ssa-threadupdate.c')
0 files changed, 0 insertions, 0 deletions