This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Bootstrap broken: ../../gcc/gcc/ada/trans.c:5896: error: too few arguments to function `real_2expN'
- From: "Christian Joensson" <christian dot joensson at gmail dot com>
- To: "Sandra Loosemore" <sandra at codesourcery dot com>, "GCC Development" <gcc at gcc dot gnu dot org>
- Cc: "Janis Johnson" <janis187 at us dot ibm dot com>, "Arnaud Charlet" <charlet at adacore dot com>
- Date: Thu, 6 Sep 2007 15:32:19 +0200
- Subject: Re: Bootstrap broken: ../../gcc/gcc/ada/trans.c:5896: error: too few arguments to function `real_2expN'
- References: <5460e3330709060054r193fcdaaic527d833b8bd0b56@mail.gmail.com> <46DFF5D3.8070707@codesourcery.com>
2007/9/6, Sandra Loosemore <sandra@codesourcery.com>:
> Christian Joensson wrote:
> > Using checkout Thu Sep 6 05:56:16 UTC 2007 (revision 128174), I get a
> > bootstrap failure:
> >
> > gcc -c -g -fkeep-inline-functions -DIN_GCC -W -Wall
> > -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
> > -DHAVE_CONFIG_H -I. -Iada -I../../gcc/gcc -I../../gcc/gcc/ada
> > -I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include
> > -I../../gcc/gcc/../libdecnumber -I../../gcc/gcc/../libdecnumber/dpd
> > -I../libdecnumber ../../gcc/gcc/ada/trans.c -o ada/trans.o
> > ../../gcc/gcc/ada/trans.c: In function `convert_with_check':
> > ../../gcc/gcc/ada/trans.c:5896: error: too few arguments to function
> > `real_2expN'
> > make[3]: *** [ada/trans.o] Error 1
> > make[3]: Leaving directory `/usr/local/src/trunk/objdir/gcc'
> > make[2]: *** [all-stage1-gcc] Error 2
> > make[2]: Leaving directory `/usr/local/src/trunk/objdir'
> > make[1]: *** [stage1-bubble] Error 2
> > make[1]: Leaving directory `/usr/local/src/trunk/objdir'
> > make: *** [all] Error 2
> >
>
> It looks like this is due to this change, not my modification to trans.c:
>
> 2007-09-05 Janis Johnson <janis187@us.ibm.com>
>
> * optabs.c (expand_float): Convert unsigned integer as signed only
> if it provides sufficient accuracy; add mode argument to
> real_2expN.
> (expand_fix): Fix comment typos; extend binary float into mode
> wider than destination for converion to unsigned integer; add mode
> argument to real_2expN.
> * real.c (real_2expN): Add mode argument to special-case decimal
> float values.
> * real.h (real_2expN): Ditto.
> * fixed-value.c (check_real_for_fixed_mode): Add mode argument to
> real_2expN.
> (fixed_from_string): Ditto.
> (fixed_to_decimal): Ditto.
> (fixed_convert_from_real): Ditto.
> (real_convert_from_fixed): Ditto.
> * config/rs6000/rs6000.md (FP): Include DD and TD modes.
> * config/rs6000/dfp.md (extendddtd2, adddd3, addtd3, subdd3,
> subtd3,
> muldd3, multd3, divdd3, divtd3, cmpdd_internal1, cmptd_internal1,
> floatditd2, ftruncdd2, fixdddi2, ftrunctd2, fixddi2): New.
>
sorry, I didn't look (at all) what was in your commit, I simply looked
at it and saw that you were the last one on it...
btw, still fails at Thu Sep 6 13:05:57 UTC 2007 (revision 128182).
this is on
Windows XP Pro/SP2 cygwin Pentium M processor 2.13GHz system with packages:
binutils 20060817-1 2.17.50 20060817
bison 2.3-1 2.3
cygwin 1.5.24-2 (rev. 1.46 of newlib's stdio.h)
dejagnu 20021217-2 1.4.2.x
expect 20030128-1 5.26
gcc 3.4.4-3
gcc-ada 3.4.4-3
gcc-g++ 3.4.4-3
gmp 4.2.1-1
make 3.81-1
mpfr 2.2.1-1
tcltk 20060202-1 8.4
w32api 3.10-1
--
Cheers,
/ChJ