This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch installed for warning regression fp-bit.h prototype
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 2 Mar 2003 08:15:09 -0500 (EST)
- Subject: Patch installed for warning regression fp-bit.h prototype
This patch fixes a warning regression introduced a few weeks ago.
> tp-bit.c:1394: warning: no previous prototype for `__fixunstfsi'
> tp-bit.c:1394: warning: no previous prototype for `__fixunstfsi'
Tested on mips-sgi-irix6.5 and installed as obvious on trunk and 3.3.
2003-03-02 Kaveh R. Ghazi <ghazi at caip dot rutgers dot edu>
* fp-bit.h (float_to_usi): Fix condition wrapping prototype.
Index: config/fp-bit.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/fp-bit.h,v
retrieving revision 1.7.18.3
diff -u -p -r1.7.18.3 fp-bit.h
--- config/fp-bit.h 30 Jan 2003 04:22:08 -0000 1.7.18.3
+++ config/fp-bit.h 2 Mar 2003 13:10:21 -0000
@@ -479,7 +479,7 @@ extern SItype float_to_si (FLO_type);
#endif
#if defined(L_sf_to_usi) || defined(L_df_to_usi) || defined(L_tf_to_usi)
-#ifdef US_SOFTWARE_GOFAST
+#if defined(US_SOFTWARE_GOFAST) || defined(L_tf_to_usi)
extern USItype float_to_usi (FLO_type);
#endif
#endif