diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2019-09-17 20:24:00 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2019-09-17 20:24:00 +0000 |
commit | 033425d0ed0092748fc919e5c40dc47421dcdd89 (patch) | |
tree | 7ff26ef5001f70214c75d5fe6546930b57a52d4c /config | |
parent | 99a28ee8c18fd1f452c002f0548c54eb0a7be817 (diff) | |
download | gcc-033425d0ed0092748fc919e5c40dc47421dcdd89.zip gcc-033425d0ed0092748fc919e5c40dc47421dcdd89.tar.gz gcc-033425d0ed0092748fc919e5c40dc47421dcdd89.tar.bz2 |
re PR go/91781 (r275691 breaks go test "reflect")
PR go/91781
reflect: promote integer closure return to full word
The libffi library expects an integer return type to be promoted to a
full word. Implement that when returning from a closure written in Go.
This only matters on big-endian systems when returning an integer smaller
than the pointer size, which is why we didn't notice it until now.
Fixes https://gcc.gnu.org/PR91781.
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/195858
From-SVN: r275813
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions