This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [Patch] libffi: Fix broken return_ul.c test.
- From: Andrew Haley <aph-gcc at littlepinkcloud dot COM>
- To: David Daney <ddaney at avtrex dot com>
- Cc: GCJ-patches <java-patches at gcc dot gnu dot org>, GCC Patches <gcc-patches at gcc dot gnu dot org>, andreast at gcc dot gnu dot org
- Date: Sun, 5 Aug 2007 10:50:12 +0100
- Subject: Re: [Patch] libffi: Fix broken return_ul.c test.
- References: <46B04209.3000509@avtrex.com>
David Daney writes:
> The return_ul.c test is failing for mips64 n32 ABI. The problem is that
> the return value location was too small and was overflowing into
> adjacent memory.
>
> According to the libffi README, return values must be at least as large
> as ffi_arg, so that is what I used.
>
> Tested on x86_64-pc-linux-gnu and mips64-linux-gnu.
>
> OK to commit?
>
> 2007-08-01 David Daney <ddaney@avtrex.com>
>
> * testsuite/libffi.call/return_ul.c (main): Define return type as
> ffi_arg. Use proper printf conversion specifier.
Yeah, of course.
Andrew.