This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc-4.4.0 build fails
- From: Ian Lance Taylor <iant at google dot com>
- To: "M R Swami Reddy" <MR dot Swami dot Reddy at nsc dot com>
- Cc: "gcc-help\ at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Wed, 13 May 2009 07:33:52 -0700
- Subject: Re: gcc-4.4.0 build fails
- References: <4A0AA5A9.2040804@nsc.com>
"M R Swami Reddy" <MR.Swami.Reddy@nsc.com> writes:
> I am building a cross compiler using gcc-4.4.0 release sources.
> During the build, below error seen with dojump.c file:
> ==
> gcc/dojump.c: In function Ãdo_jumpÃ:
> gcc/dojump.c:520: error: called object Ã2Ã is not a function
> gcc/dojump.c:543: error: called object Ã2Ã is not a function
> make: *** [dojump.o] Error 1
> ==
You didn't mention the target; I assume this is a private port. I would
guess a bug in the definition of BRANCH_COST. Note that BRANCH_COST
used to be a simple value, but now it is a macro with two arguments. I
think you could have spotted this yourself by looking at the lines in
question.
Ian