aboutsummaryrefslogtreecommitdiff
path: root/gcc/go/gofrontend
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2021-02-14 18:59:07 -0800
committerIan Lance Taylor <iant@golang.org>2021-02-16 13:01:00 -0800
commite7a8d69a557124c41a350c1f52f0422fd4b5a230 (patch)
tree848005d097685b8e1ce0a2b6686a7a5d086c0982 /gcc/go/gofrontend
parentb37695c9bf101a3a30a231cfeb6da7a6c17657d6 (diff)
downloadgcc-e7a8d69a557124c41a350c1f52f0422fd4b5a230.zip
gcc-e7a8d69a557124c41a350c1f52f0422fd4b5a230.tar.gz
gcc-e7a8d69a557124c41a350c1f52f0422fd4b5a230.tar.bz2
compiler: unalias receiver type in export data
Test case is https://golang.org/cl/292009. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/291991
Diffstat (limited to 'gcc/go/gofrontend')
-rw-r--r--gcc/go/gofrontend/MERGE2
-rw-r--r--gcc/go/gofrontend/gogo.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
index 3175ba0..eed9ce0 100644
--- a/gcc/go/gofrontend/MERGE
+++ b/gcc/go/gofrontend/MERGE
@@ -1,4 +1,4 @@
-a5d7c4225fbbd06b97db6fa424cc0cb5191082d4
+c406de0594782b1d6782a732a50f5b76387852dc
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/gogo.cc b/gcc/go/gofrontend/gogo.cc
index 62b06be..38a2f6f 100644
--- a/gcc/go/gofrontend/gogo.cc
+++ b/gcc/go/gofrontend/gogo.cc
@@ -5898,7 +5898,7 @@ Function::export_func_with_type(Export* exp, const Named_object* no,
exp->write_name(receiver->name());
exp->write_escape(receiver->note());
exp->write_c_string(" ");
- exp->write_type(receiver->type());
+ exp->write_type(receiver->type()->unalias());
exp->write_c_string(") ");
}