summaryrefslogtreecommitdiff
path: root/gcc/go
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2020-01-09 16:20:56 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2020-01-09 16:20:56 +0000
commitc1b10d6d4954aef8ce52c3729bef6dd2b800c20c (patch)
treeec292e2ac473d7807bdf5f0bcb56ca28185bacc9 /gcc/go
parent0581e6ba3cfeb646553574aaa0efb1a822550a1f (diff)
compiler: don't localize names in export data
Localizing names in export data causes the compiler output to change depending on the LANG environment variable, so don't do it. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/214038 From-SVN: r280057
Diffstat (limited to 'gcc/go')
-rw-r--r--gcc/go/gofrontend/MERGE2
-rw-r--r--gcc/go/gofrontend/export.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
index 500237671be..e712bef1332 100644
--- a/gcc/go/gofrontend/MERGE
+++ b/gcc/go/gofrontend/MERGE
@@ -1,4 +1,4 @@
-8ad32fb3e1e8b19ac125d03db24a73a800abdfa6
+f9d1bfb3eec2d388c5f239779fd25a580064dd9d
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/export.cc b/gcc/go/gofrontend/export.cc
index b27d2fa11e4..277aa74e571 100644
--- a/gcc/go/gofrontend/export.cc
+++ b/gcc/go/gofrontend/export.cc
@@ -1231,7 +1231,7 @@ Export::write_name(const std::string& name)
if (name.empty())
this->write_c_string("?");
else
- this->write_string(Gogo::message_name(name));
+ this->write_string(Gogo::unpack_hidden_name(name));
}
// Write an integer value to the export stream.