[gcc/devel/c++-coroutines] compiler: don't localize names in export data
Iain D Sandoe
iains@gcc.gnu.org
Fri Jan 17 12:47:00 GMT 2020
https://gcc.gnu.org/g:c1b10d6d4954aef8ce52c3729bef6dd2b800c20c
commit c1b10d6d4954aef8ce52c3729bef6dd2b800c20c
Author: Ian Lance Taylor <ian@gcc.gnu.org>
Date: Thu Jan 9 16:20:56 2020 +0000
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
Diff:
---
gcc/go/gofrontend/MERGE | 2 +-
gcc/go/gofrontend/export.cc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
index 5002376..e712bef 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 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.
More information about the Gcc-cvs
mailing list