aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2019-01-15 23:21:24 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2019-01-15 23:21:24 +0000
commitb7ec44e82bb50bd3adc294aa7e87252c79ea7294 (patch)
tree05ae442ca2773c5cbe254e50ce99ba0604f24614 /gcc
parent5e95646e734c1c64ea4e1a761b414581534e1d8c (diff)
downloadgcc-b7ec44e82bb50bd3adc294aa7e87252c79ea7294.zip
gcc-b7ec44e82bb50bd3adc294aa7e87252c79ea7294.tar.gz
gcc-b7ec44e82bb50bd3adc294aa7e87252c79ea7294.tar.bz2
runtime: add padding to FFI type of struct ending with zero-sized field
CL 157557 changes the compiler to add one byte padding to non-empty struct ending with a zero-sized field. Add the same padding to the FFI type, so reflect.Call works. This fixes test/fixedbugs/issue26335.go in the main repo. Reviewed-on: https://go-review.googlesource.com/c/158018 From-SVN: r267956
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 4d76c54..b139151 100644
--- a/gcc/go/gofrontend/MERGE
+++ b/gcc/go/gofrontend/MERGE
@@ -1,4 +1,4 @@
-87005025fcd0d7e7908b3aae7062b52cb80eb0f3
+9a79c333e896ea49f6a708d459148074d29a2af6
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.