diff options
Diffstat (limited to 'gcc/cp/semantics.c')
-rw-r--r-- | gcc/cp/semantics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c index 7616034..ea92da3 100644 --- a/gcc/cp/semantics.c +++ b/gcc/cp/semantics.c @@ -3321,7 +3321,7 @@ process_outer_var_ref (tree decl, tsubst_flags_t complain, bool odr_use) { /* Check whether we've already built a proxy. */ tree var = decl; - while (is_normal_capture_proxy (var)) + while (is_capture_proxy_with_ref (var)) var = DECL_CAPTURED_VARIABLE (var); tree d = retrieve_local_specialization (var); |