From: Ian Lance Taylor Date: Thu, 7 Jun 2012 08:06:08 +0000 (+0000) Subject: compiler: Fix taking address of field of local variable. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d8a5e488d5a4df076006e84e2ad3e31b74501e13;p=gcc.git compiler: Fix taking address of field of local variable. From-SVN: r188299 --- diff --git a/gcc/go/gofrontend/expressions.h b/gcc/go/gofrontend/expressions.h index d58e6c5fcb0..156cf3ceea3 100644 --- a/gcc/go/gofrontend/expressions.h +++ b/gcc/go/gofrontend/expressions.h @@ -1888,6 +1888,10 @@ class Field_reference_expression : public Expression do_is_addressable() const { return this->expr_->is_addressable(); } + void + do_address_taken(bool escapes) + { this->expr_->address_taken(escapes); } + tree do_get_tree(Translate_context*);