libffi: testsuite fix for ix86.
authorAndreas Tobler <a.tobler@schweiz.ch>
Mon, 20 Feb 2006 21:10:14 +0000 (22:10 +0100)
committerAndreas Tobler <andreast@gcc.gnu.org>
Mon, 20 Feb 2006 21:10:14 +0000 (22:10 +0100)
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

libffi/ChangeLog
libffi/testsuite/libffi.call/return_fl2.c

index 2ed033e89db914c1971e4e37634332345309aebe..9644f1bd07985713236573fce58e94d82bfddda4 100644 (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
index d4bd3ded8502611e679731822aa0751ff3196c5f..59b2d73f9913add6d354f2a5e1b888ac6111a63c 100644 (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;
 }