aboutsummaryrefslogtreecommitdiff
path: root/gcc/go
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2022-03-10 10:42:24 +0100
committerMartin Liska <mliska@suse.cz>2022-03-10 10:42:24 +0100
commit604bf5da51533a218c0393cb5115bae7c8d95282 (patch)
tree7c1d3405dde7cc6efe0fbd24566cdf8bb690fbfe /gcc/go
parent1a576b7ac609d4225a3833e3a9c84a9439d0e45e (diff)
parent6f8abf2b9ff4f165a61295cdb3525ce1da2a77c6 (diff)
downloadgcc-604bf5da51533a218c0393cb5115bae7c8d95282.zip
gcc-604bf5da51533a218c0393cb5115bae7c8d95282.tar.gz
gcc-604bf5da51533a218c0393cb5115bae7c8d95282.tar.bz2
Merge branch 'master' into devel/sphinx
Diffstat (limited to 'gcc/go')
-rw-r--r--gcc/go/gofrontend/MERGE2
-rw-r--r--gcc/go/gofrontend/types.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
index e68d2d9..d9b1269 100644
--- a/gcc/go/gofrontend/MERGE
+++ b/gcc/go/gofrontend/MERGE
@@ -1,4 +1,4 @@
-787fd4475f9d9101bc138d0b9763b0f5ecca89a9
+5042f7efbdb2d64537dfef53a19e96ee5ec4db2d
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/types.cc b/gcc/go/gofrontend/types.cc
index 8267f15..3de0bd3 100644
--- a/gcc/go/gofrontend/types.cc
+++ b/gcc/go/gofrontend/types.cc
@@ -5303,7 +5303,7 @@ Function_type::do_export(Export* exp) const
if (results != NULL)
{
exp->write_c_string(" ");
- if (results->size() == 1 && results->begin()->name().empty())
+ if (results->size() == 1)
exp->write_type(results->begin()->type());
else
{