This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH, libgcc: silence tf-signs.c warnings
- From: Ben Elliston <bje at au1 dot ibm dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Cc: Paolo Bonzini <bonzini at gnu dot org>
- Date: Fri, 16 Jan 2009 15:05:01 +1100
- Subject: PATCH, libgcc: silence tf-signs.c warnings
This patch adds prototypes for the two functions in tf-signs.c. As
these files are proper citizens of the GCC source tree, it seems more
sensible to fix them than to throw away the missing prototype
warning. ;-)
Tested with a boostrap on i686-pc-linux-gnu. Okay for the trunk?
Thanks,
Ben
2009-01-16 Ben Elliston <bje@au.ibm.com>
* config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
Index: config/i386/32/tf-signs.c
===================================================================
--- config/i386/32/tf-signs.c (revision 143412)
+++ config/i386/32/tf-signs.c (working copy)
@@ -40,6 +40,9 @@ union _FP_UNION_Q
} bits __attribute__((packed));
};
+__float128 __copysigntf3 (__float128, __float128);
+__float128 __fabstf2 (__float128);
+
__float128
__copysigntf3 (__float128 a, __float128 b)
{