diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2020-01-09 16:20:56 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2020-01-09 16:20:56 +0000 |
commit | c1b10d6d4954aef8ce52c3729bef6dd2b800c20c (patch) | |
tree | ec292e2ac473d7807bdf5f0bcb56ca28185bacc9 /gcc/go/gofrontend/export.cc | |
parent | 0581e6ba3cfeb646553574aaa0efb1a822550a1f (diff) | |
download | gcc-c1b10d6d4954aef8ce52c3729bef6dd2b800c20c.zip gcc-c1b10d6d4954aef8ce52c3729bef6dd2b800c20c.tar.gz gcc-c1b10d6d4954aef8ce52c3729bef6dd2b800c20c.tar.bz2 |
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/gofrontend/export.cc')
-rw-r--r-- | gcc/go/gofrontend/export.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/go/gofrontend/export.cc b/gcc/go/gofrontend/export.cc index b27d2fa..277aa74 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. |