diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2018-02-17 18:53:02 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2018-02-17 18:53:02 +0000 |
commit | 45da2fcbcd0ecaba673275d22b04fac3e4376e22 (patch) | |
tree | 1ded6dcd528c4eb97870c649cc36f1b69efb7fd7 /testsuite/libffi.call/cls_uint.c | |
parent | 9429968b828de8775cfd7f139374888943f2186a (diff) | |
download | libffi-45da2fcbcd0ecaba673275d22b04fac3e4376e22.tar.gz |
new test: return small struct
The bug originally was discovered in https://bugs.gentoo.org/634190
where complicated callback was returning invalid data on ia64.
This change adds minimal reproducer that fails only on ia64 as:
FAIL: libffi.call/struct10.c -W -Wall -Wno-psabi -O0 execution test
FAIL: libffi.call/struct10.c -W -Wall -Wno-psabi -O2 execution test
FAIL: libffi.call/struct10.c -W -Wall -Wno-psabi -O3 execution test
FAIL: libffi.call/struct10.c -W -Wall -Wno-psabi -Os execution test
Test passes on amd64. The fix is in the following commit.
Bug: https://bugs.gentoo.org/634190
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'testsuite/libffi.call/cls_uint.c')
0 files changed, 0 insertions, 0 deletions