aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2019-08-21 17:19:52 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2019-08-21 17:19:52 +0000
commiteda684e6a77890bd5e13ceab99d95bc1e8439212 (patch)
treef786e3135d91f2f3676e58b54e313fc5e368cb9c /gcc
parent7f8c0c0504d95c983aa138fd67aa2267f96853f9 (diff)
downloadgcc-eda684e6a77890bd5e13ceab99d95bc1e8439212.zip
gcc-eda684e6a77890bd5e13ceab99d95bc1e8439212.tar.gz
gcc-eda684e6a77890bd5e13ceab99d95bc1e8439212.tar.bz2
compiler: don't use pkgpath for fieldtrack of unexported field
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/191040 From-SVN: r274803
Diffstat (limited to 'gcc')
-rw-r--r--gcc/go/gofrontend/MERGE2
-rw-r--r--gcc/go/gofrontend/expressions.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
index 29f5ec0..5c02446 100644
--- a/gcc/go/gofrontend/MERGE
+++ b/gcc/go/gofrontend/MERGE
@@ -1,4 +1,4 @@
-7da359f4659fffff051c05ff442037cfa61febd5
+82d27f0f140f33406cf59c0fb262f6dba3077f8e
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.
diff --git a/gcc/go/gofrontend/expressions.cc b/gcc/go/gofrontend/expressions.cc
index 0cf1710..378dab5 100644
--- a/gcc/go/gofrontend/expressions.cc
+++ b/gcc/go/gofrontend/expressions.cc
@@ -13795,7 +13795,7 @@ Field_reference_expression::do_lower(Gogo* gogo, Named_object* function,
if (nt != NULL)
s.append(Gogo::unpack_hidden_name(nt->name()));
s.push_back('.');
- s.append(field->field_name());
+ s.append(Gogo::unpack_hidden_name(field->field_name()));
s.push_back('"');
// We can't use a string here, because internally a string holds a