[prev in list] [next in list] [prev in thread] [next in thread]
List: gcc-bugs
Subject: Re: irix bootstrap dies in builtins.c
From: "Kaveh R. Ghazi" <ghazi () caip ! rutgers ! edu>
Date: 2001-03-30 14:01:38
[Download RAW message or body]
> From: Richard Henderson <rth at redhat dot com>
>
> On Fri, Mar 30, 2001 at 04:48:49AM -0000, Billinghurst, David (CRTS)
> wrote:
> > mips-sgi-irix6.5 bootstrap of CVS with cc dies with
> >
> > "/exd4/billingd/src/gcc-mainline/gcc/builtins.c", line 3597:
> error(1119):
> > return value type does not match the function type
> > return expand_builtin_dwarf_fp_regnum ();
> >
> > and we see that expand_builtin_dwarf_fp_regnum is not declared in
> builtins.c
>
> Huh? Error? That function has _never_ been declared anywhere.
> r~
The problem is that expand_builtin_dwarf_fp_regnum used to be
prototyped in except.h, now its not. Thus it gets a default int
return type and irix6 cc sees that you're returning an int inside a
function (expand_builtin) that's supposed to return an rtx.
<soapbox>
This problem was definitely exposed by additional implicit function
decl warnings, so its another case of a bootstrap failure predicted by
warning regressions. IMHO, we could really use a warning regression
checker.
</soapbox>
--Kaveh
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic