diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2019-01-15 23:21:24 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2019-01-15 23:21:24 +0000 |
commit | b7ec44e82bb50bd3adc294aa7e87252c79ea7294 (patch) | |
tree | 05ae442ca2773c5cbe254e50ce99ba0604f24614 /gcc/tree.c | |
parent | 5e95646e734c1c64ea4e1a761b414581534e1d8c (diff) | |
download | gcc-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/tree.c')
0 files changed, 0 insertions, 0 deletions