libffi: testsuite fix for ix86.

2006-02-20  Andreas Tobler  <a.tobler@schweiz.ch>

	* testsuite/libffi.call/return_fl2.c (return_fl): Remove static
	declaration to avoid a false negative on ix86. See PR323.

From-SVN: r111314
This commit is contained in:
Andreas Tobler 2006-02-20 22:10:14 +01:00 committed by Andreas Tobler
parent 0ff4040e02
commit 723e5d5a24
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-02-20 Andreas Tobler <a.tobler@schweiz.ch>
* testsuite/libffi.call/return_fl2.c (return_fl): Remove static
declaration to avoid a false negative on ix86. See PR323.
2006-02-18 Kaz Kojima <kkojima@gcc.gnu.org>
* src/sh/ffi.c (ffi_closure_helper_SYSV): Remove unused variable

View File

@ -7,7 +7,7 @@
/* { dg-do run } */
#include "ffitest.h"
static float return_fl(float fl1, float fl2, float fl3, float fl4)
float return_fl(float fl1, float fl2, float fl3, float fl4)
{
return fl1 + fl2 + fl3 + fl4;
}