[Patch] libffi testsuite: Use correct type specifiers.

David Daney ddaney@avtrex.com
Wed Aug 8 05:07:00 GMT 2007


As noted in my previous message:
http://gcc.gnu.org/ml/java-patches/2007-q3/msg00126.html

The libffi testsuite has many places where the wrong type specifier is 
used.  This patch corrects all the erroneous specifiers that I could 
find.  Also there was a definition in ffitest.h for ffi_type_mylong that 
exactly mirrored a standard type definition found in ffi.h, so I removed 
it and used the correct standard specifier instead.

Tested on x86_64-pc-linux-gnu (both native and -m32 ABIs) and 
mips64-linux with no failures.

OK to commit?

David Daney

2007-08-07  David Daney  <ddaney@avtrex.com>

    * testsuite/libffi.call/ffitest.h (ffi_type_mylong): Remove definition.
    * testsuite/libffi.call/cls_align_uint16.c (main): Use correct type
    specifiers.
    * testsuite/libffi.call/nested_struct1.c (main): Ditto.
    * testsuite/libffi.call/cls_sint.c (main): Ditto.
    * testsuite/libffi.call/nested_struct9.c (main): Ditto.
    * testsuite/libffi.call/cls_20byte1.c (main): Ditto.
    * testsuite/libffi.call/cls_9byte1.c (main): Ditto.
    * testsuite/libffi.call/closure_fn1.c (main): Ditto.
    * testsuite/libffi.call/closure_fn3.c (main): Ditto.
    * testsuite/libffi.call/return_dbl2.c (main): Ditto.
    * testsuite/libffi.call/cls_sshort.c (main): Ditto.
    * testsuite/libffi.call/return_fl3.c (main): Ditto.
    * testsuite/libffi.call/closure_fn5.c (main): Ditto.
    * testsuite/libffi.call/nested_struct.c (main): Ditto.
    * testsuite/libffi.call/nested_struct10.c (main): Ditto.
    * testsuite/libffi.call/return_ll1.c (main): Ditto.
    * testsuite/libffi.call/cls_8byte.c (main): Ditto.
    * testsuite/libffi.call/cls_align_uint32.c (main): Ditto.
    * testsuite/libffi.call/cls_align_sint16.c (main): Ditto.
    * testsuite/libffi.call/cls_20byte.c (main): Ditto.
    * testsuite/libffi.call/nested_struct2.c (main): Ditto.
    * testsuite/libffi.call/cls_24byte.c (main): Ditto.
    * testsuite/libffi.call/nested_struct6.c (main): Ditto.
    * testsuite/libffi.call/cls_uint.c (main): Ditto.
    * testsuite/libffi.call/cls_12byte.c (main): Ditto.
    * testsuite/libffi.call/cls_16byte.c (main): Ditto.
    * testsuite/libffi.call/closure_fn0.c (main): Ditto.
    * testsuite/libffi.call/cls_9byte2.c (main): Ditto.
    * testsuite/libffi.call/closure_fn2.c (main): Ditto.
    * testsuite/libffi.call/return_dbl1.c (main): Ditto.
    * testsuite/libffi.call/closure_fn4.c (main): Ditto.
    * testsuite/libffi.call/closure_fn6.c (main): Ditto.
    * testsuite/libffi.call/cls_align_sint32.c (main): Ditto.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffitypes.diff
Type: text/x-patch
Size: 20665 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20070808/2cee42c4/attachment.bin>


More information about the Java-patches mailing list