diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2015-01-20 21:29:28 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2015-01-20 21:29:28 +0000 |
commit | 2d8536f61419a898706e351bba964250af57006a (patch) | |
tree | 2b48fadd2f5cb2e9e9354f1c242d17a3d34362f6 /gcc/go/gofrontend/parse.h | |
parent | 039ad4c2f435f8e345e123af8a324c50d1a85c86 (diff) | |
download | gcc-2d8536f61419a898706e351bba964250af57006a.zip gcc-2d8536f61419a898706e351bba964250af57006a.tar.gz gcc-2d8536f61419a898706e351bba964250af57006a.tar.bz2 |
compiler: Do not mark unused variables as used inside closures.
Fixes golang/go#6415.
From-SVN: r219916
Diffstat (limited to 'gcc/go/gofrontend/parse.h')
-rw-r--r-- | gcc/go/gofrontend/parse.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/go/gofrontend/parse.h b/gcc/go/gofrontend/parse.h index d55798b..9dd3b16 100644 --- a/gcc/go/gofrontend/parse.h +++ b/gcc/go/gofrontend/parse.h @@ -218,7 +218,7 @@ class Parse Typed_identifier* receiver(); Expression* operand(bool may_be_sink, bool *is_parenthesized); Expression* enclosing_var_reference(Named_object*, Named_object*, - Location); + bool may_be_sink, Location); Expression* composite_lit(Type*, int depth, Location); Expression* function_lit(); Expression* create_closure(Named_object* function, Enclosing_vars*, |