aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/lambda.c
diff options
context:
space:
mode:
authorPaolo Carlini <paolo.carlini@oracle.com>2019-05-15 17:47:55 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2019-05-15 17:47:55 +0000
commit53f45e3cb9ce761f0589af2dcb82409e4cccb6a6 (patch)
tree5657d3e29b8c166d2a6d167b94c256e2b81a0cd5 /gcc/cp/lambda.c
parentdc90cc8c23f1e18f67e8f4d4a6da41bf6a04a147 (diff)
downloadgcc-53f45e3cb9ce761f0589af2dcb82409e4cccb6a6.zip
gcc-53f45e3cb9ce761f0589af2dcb82409e4cccb6a6.tar.gz
gcc-53f45e3cb9ce761f0589af2dcb82409e4cccb6a6.tar.bz2
cp-tree.h (REFERENCE_VLA_OK): Remove.
2019-05-15 Paolo Carlini <paolo.carlini@oracle.com> * cp-tree.h (REFERENCE_VLA_OK): Remove. * lambda.c (build_capture_proxy): Remove use of the above. From-SVN: r271258
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);
}