This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: irix bootstrap failure (pehaps Target-dependent modes (1.5+2/3)slightly revised, committed?)
- From: "Zack Weinberg" <zack at codesourcery dot com>
- To: "Billinghurst, David (CALCRTS)"<david dot billinghurst at comalco dot riotinto dot com dot au>
- Cc: <gcc-bugs at gcc dot gnu dot org>, gcc-patches at gcc dot gnu dot org
- Date: Tue, 14 Oct 2003 21:45:27 -0700
- Subject: Re: irix bootstrap failure (pehaps Target-dependent modes (1.5+2/3)slightly revised, committed?)
- References: <FAC87D7C874EAB46A847604DA4FD5A64DA179D@crtsmail.corp.riotinto.org>
"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)