aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/lambda.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/lambda.c')
-rw-r--r--gcc/cp/lambda.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/cp/lambda.c b/gcc/cp/lambda.c
index 9366418..fb385c6 100644
--- a/gcc/cp/lambda.c
+++ b/gcc/cp/lambda.c
@@ -420,7 +420,6 @@ build_capture_proxy (tree member, tree init)
type = build_cplus_array_type (TREE_TYPE (TREE_TYPE (ptr)),
build_index_type (max));
type = build_reference_type (type);
- REFERENCE_VLA_OK (type) = true;
object = convert (type, ptr);
}