aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNikhil Benesch <nikhil.benesch@gmail.com>2020-12-16 08:41:20 -0500
committerIan Lance Taylor <iant@golang.org>2020-12-20 20:16:50 -0800
commit9bac66390c0c838594e42877f938bca441665937 (patch)
treef43532f5dfd01ef11335fb88ab6ac7fc1ce4829e /gcc
parent108beb75da0011b7e2cba65ee172fa4eefab9e41 (diff)
downloadgcc-9bac66390c0c838594e42877f938bca441665937.zip
gcc-9bac66390c0c838594e42877f938bca441665937.tar.gz
gcc-9bac66390c0c838594e42877f938bca441665937.tar.bz2
libgo: adjust sysinfo scripts for changed -fdump-go-spec
The -fdump-go-spec flag to GCC recently changed to be more fastidious about handling incomplete types. This caused some breakage in mk[r]sysinfo.sh on Solaris. This commit adjusts for the new behavior. Specifically: * Types that refer to _in6_addr may be hidden behind a typedef and can no longer be filtered out with `grep -v in6_addr`. Instead just rewrite the definition of _in6_addr to [16]byte wherever it appears. * timestruc_t is now (correctly) emitted as an alias for timespec, so this case is handled specially. * stdio.h is included in sysinfo.c to avoid emitting an incomplete definition of the FILE type. * Dummy definitions for _u?pad128_t are now emitted automatically, which conflict with the definitions installed by mk[r]sysinfo.sh. These definitions were actually dead code, so just remove them. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/278672
Diffstat (limited to 'gcc')
-rw-r--r--gcc/go/gofrontend/MERGE2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
index 40242cc6..81deef2 100644
--- a/gcc/go/gofrontend/MERGE
+++ b/gcc/go/gofrontend/MERGE
@@ -1,4 +1,4 @@
-1317de50147304a226b3ec5c4d81376470c358e5
+f9e44c6e510df9f047dbe28eb5fa19642e350f8f
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.