irix bootstrap failure (pehaps Target-dependent modes (1.5+2/3) slightly revised, committed?)

Zack Weinberg zack@codesourcery.com
Wed Oct 15 04:45:00 GMT 2003


"Billinghurst, David (CALCRTS)" <david.billinghurst@comalco.riotinto.com.au> writes:

> /disk4/billingd/src/gcc/gcc/config/mips/mips-modes.def:23: warning: passing arg 4 of `reset_float_format' makes pointer from integer without a cast
> /disk4/billingd/src/gcc/gcc/config/mips/mips-modes.def:24: warning: passing arg 4 of `reset_float_format' makes pointer from integer without a cast
> make[2]: *** [genmodes.o] Error 1

Aaargh.  Please try the appended patch.

zw

        * genmodes.c (reset_float_format): Correct type of fourth argument.

===================================================================
Index: genmodes.c
--- genmodes.c	13 Oct 2003 21:16:18 -0000	1.3
+++ genmodes.c	15 Oct 2003 04:44:56 -0000
@@ -451,7 +451,7 @@ make_float_mode (const char *name,
   reset_float_format (#N, #F, __FILE__, __LINE__)
 static void ATTRIBUTE_UNUSED
 reset_float_format (const char *name, const char *format,
-		    const char *file, const char *line)
+		    const char *file, unsigned int line)
 {
   struct mode_data *m = find_mode (MODE_FLOAT, name);
   if (!m)



More information about the Gcc-bugs mailing list