diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-26 09:13:58 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-26 09:13:58 +0000 |
commit | 7babed79143e369c6654c8d4e9b1ff40ba9943a8 (patch) | |
tree | 199825a724d4e56f4d9a394f86e5b1a8af931f98 /libffi | |
parent | 094a308c1b56ec06b4907edfd248d5dfbee76211 (diff) | |
download | gcc-7babed79143e369c6654c8d4e9b1ff40ba9943a8.tar.gz |
2007-07-26 Richard Guenther <rguenther@suse.de>
PR testsuite/32843
* testsuite/libffi.call/return_sc.c (main): Verify call
result as signed char, not ffi_arg.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126950 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi')
-rw-r--r-- | libffi/ChangeLog | 6 | ||||
-rw-r--r-- | libffi/testsuite/libffi.call/return_sc.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/libffi/ChangeLog b/libffi/ChangeLog index 55553ba9404..9c3249e5822 100644 --- a/libffi/ChangeLog +++ b/libffi/ChangeLog @@ -1,3 +1,9 @@ +2007-07-26 Richard Guenther <rguenther@suse.de> + + PR testsuite/32843 + * testsuite/libffi.call/return_sc.c (main): Verify call + result as signed char, not ffi_arg. + 2007-07-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> * configure.ac (i?86-*-solaris2.1[0-9]): Set TARGET to X86_64. diff --git a/libffi/testsuite/libffi.call/return_sc.c b/libffi/testsuite/libffi.call/return_sc.c index 19608ee7c8b..ddb26778695 100644 --- a/libffi/testsuite/libffi.call/return_sc.c +++ b/libffi/testsuite/libffi.call/return_sc.c @@ -30,7 +30,7 @@ int main (void) sc < (signed char) 127; sc++) { ffi_call(&cif, FFI_FN(return_sc), &rint, values); - CHECK(rint == (ffi_arg) sc); + CHECK((signed char) rint == sc); } exit(0); } |