This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch commited] libffi testsuite fix for ix86
- From: Andreas Tobler <toa at pop dot agri dot ch>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 20 Feb 2006 22:09:40 +0100
- Subject: [patch commited] libffi testsuite fix for ix86
Hello,
Andrew pointed me to PR323 when I asked for the failure of return_fl2.c
on i686-pc-linux systems.
So I remove the static declaration to avoid a false negative in terms of
libffi testing.
Andreas
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.
Index: testsuite/libffi.call/return_fl2.c
===================================================================
--- testsuite/libffi.call/return_fl2.c (revision 111295)
+++ testsuite/libffi.call/return_fl2.c (working copy)
@@ -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;
}