summaryrefslogtreecommitdiff
path: root/libffi
diff options
context:
space:
mode:
authorandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2006-02-20 21:10:14 +0000
committerandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2006-02-20 21:10:14 +0000
commit849b9f9144f92693c5c3b95ae5564d7c5c6f5809 (patch)
treefbabe5b04c55cbbc054fb84e7289293b53b733bc /libffi
parent6b421feb1404049aaedeedac8e2df3414cf6534f (diff)
downloadgcc-849b9f9144f92693c5c3b95ae5564d7c5c6f5809.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111314 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi')
-rw-r--r--libffi/ChangeLog5
-rw-r--r--libffi/testsuite/libffi.call/return_fl2.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/libffi/ChangeLog b/libffi/ChangeLog
index 2ed033e89db..9644f1bd079 100644
--- a/libffi/ChangeLog
+++ b/libffi/ChangeLog
@@ -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
diff --git a/libffi/testsuite/libffi.call/return_fl2.c b/libffi/testsuite/libffi.call/return_fl2.c
index d4bd3ded850..59b2d73f991 100644
--- a/libffi/testsuite/libffi.call/return_fl2.c
+++ b/libffi/testsuite/libffi.call/return_fl2.c
@@ -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;
}