This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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;
 }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]