This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [patch] libffi darwin x86-32bit, fix return_sc testcase.
- From: Andrew Haley <aph at redhat dot com>
- To: Andreas Tobler <andreast-list at fgznet dot ch>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Java Patches <java-patches at gcc dot gnu dot org>, Eric Christopher <echristo at apple dot com>, Richard Guenther <rguenther at suse dot de>
- Date: Thu, 3 Jan 2008 09:48:39 +0000
- Subject: Re: [patch] libffi darwin x86-32bit, fix return_sc testcase.
- References: <477C054B.7060107@fgznet.ch>
Andreas Tobler writes:
> Hello all,
>
> first, a happy new year to all!
>
> The attached patch brings libffi for darwin x86 (32-bit) back to zero
> failures, at least what is covered by the test suite ;)
>
> I implemented the fix according to Andrew's fix back in July 07 for
> linux x86. Except that I had to treat small structs in special way.
I will again point out that this is merely a workaround for a gcc code
generation bug. Rather than fix the symptom, a libffi test failure,
we should fix the real problem: we are not generating ABI-compatible
code on x86.
This bug was introduced by
Author: rguenth
Date: Mon Jul 9 09:53:11 2007
New Revision: 126480
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32843
Andrew.
--
Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, UK
Registered in England and Wales No. 3798903