compiler: Fix taking address of field of local variable.
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Jun 2012 08:06:08 +0000 (08:06 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Jun 2012 08:06:08 +0000 (08:06 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188299 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/go/gofrontend/expressions.h

index d58e6c5..156cf3c 100644 (file)
@@ -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*);