diff options
Diffstat (limited to 'gcc/cp/lambda.c')
-rw-r--r-- | gcc/cp/lambda.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/lambda.c b/gcc/cp/lambda.c index 9d7701f..5587f60 100644 --- a/gcc/cp/lambda.c +++ b/gcc/cp/lambda.c @@ -427,13 +427,15 @@ build_capture_proxy (tree member) return var; } +static GTY(()) tree ptr_id; +static GTY(()) tree max_id; + /* Return a struct containing a pointer and a length for lambda capture of an array of runtime length. */ static tree vla_capture_type (tree array_type) { - static tree ptr_id, max_id; tree type = xref_tag (record_type, make_anon_name (), ts_current, false); xref_basetypes (type, NULL_TREE); type = begin_class_definition (type); @@ -1248,3 +1250,5 @@ is_lambda_ignored_entity (tree val) return false; } + +#include "gt-cp-lambda.h" |