diff options
| author | Ian Lance Taylor <ian@gcc.gnu.org> | 2015-11-23 21:18:03 +0000 |
|---|---|---|
| committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2015-11-23 21:18:03 +0000 |
| commit | b33cda2673be66dec7d859fc9d2c893fd848e533 (patch) | |
| tree | 8a7f6afbaa9f56c96edf79b77d183241459e41f9 /libjava/java/sql/Types.h | |
| parent | af0b994d1ed429118c7aa91c991a15aad08873b4 (diff) | |
re PR go/68496 ([libgo] reflect test fails on Linux x86-64)
PR go/68496
reflect: Allocate space for FFI functions returning a zero-sized type.
The libffi library does not understand zero-sized types. We represent
them as a struct with a single field of type void. If such a type is
returned from a function, libffi will copy 1 byte of data. Allocate
space for that byte, although we won't use it.
Fixes https://gcc.gnu.org/PR68496.
Reviewed-on: https://go-review.googlesource.com/17175
From-SVN: r230777
Diffstat (limited to 'libjava/java/sql/Types.h')
0 files changed, 0 insertions, 0 deletions
