diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-11-30 07:04:47 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-11-30 07:04:47 +0000 |
commit | df9471b68dc9b43c13d140326a65dd66b5c914be (patch) | |
tree | d0e346a9e4ecb1ada14f39c19c1458e569cc16f4 /gcc/go | |
parent | 44bae513cdf07241349ba1c5f61d3e46e90da0ce (diff) | |
download | gcc-df9471b68dc9b43c13d140326a65dd66b5c914be.zip gcc-df9471b68dc9b43c13d140326a65dd66b5c914be.tar.gz gcc-df9471b68dc9b43c13d140326a65dd66b5c914be.tar.bz2 |
compiler: Fix fieldtrack info for unexported type.
From-SVN: r193985
Diffstat (limited to 'gcc/go')
-rw-r--r-- | gcc/go/gofrontend/expressions.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/go/gofrontend/expressions.cc b/gcc/go/gofrontend/expressions.cc index 911ce5a..571aa02 100644 --- a/gcc/go/gofrontend/expressions.cc +++ b/gcc/go/gofrontend/expressions.cc @@ -10621,7 +10621,7 @@ Field_reference_expression::do_lower(Gogo* gogo, Named_object* function, s.append(nt->named_object()->package()->pkgpath()); s.push_back('.'); if (nt != NULL) - s.append(nt->name()); + s.append(Gogo::unpack_hidden_name(nt->name())); s.push_back('.'); s.append(field->field_name()); s.push_back('"'); |