mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-23 10:54:07 +08:00
re PR testsuite/32843 (libffi.call/return_sc.c)
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. From-SVN: r126950
This commit is contained in:
parent
2b980e3ebc
commit
0ee0208ecc
@ -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.
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user