Re: Bootstrap broken: ../../gcc/gcc/ada/trans.c:5896: error: too few arguments to function `real_2expN'

2007-09-06 Thread Sandra Loosemore

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  <[EMAIL PROTECTED]>

* 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, a3, addtd3, subdd3, 
subtd3,

muldd3, multd3, divdd3, divtd3, cmpdd_internal1, cmptd_internal1,
floatditd2, ftruncdd2, fixdddi2, ftrunctd2, fixddi2): New.

-Sandra



Re: Bootstrap broken: ../../gcc/gcc/ada/trans.c:5896: error: too few arguments to function `real_2expN'

2007-09-06 Thread Christian Joensson
2007/9/6, Sandra Loosemore <[EMAIL PROTECTED]>:
> 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  <[EMAIL PROTECTED]>
>
>  * 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, a3, 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
bison2.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
tcltk20060202-1 8.4
w32api   3.10-1


-- 
Cheers,

/ChJ


Re: Bootstrap broken: ../../gcc/gcc/ada/trans.c:5896: error: too few arguments to function `real_2expN'

2007-09-06 Thread Janis Johnson
On Thu, 2007-09-06 at 15:32 +0200, Christian Joensson wrote:
> 2007/9/6, Sandra Loosemore <[EMAIL PROTECTED]>:
> > Christian Joensson wrote:
> > > Using checkout Thu Sep  6 05:56:16 UTC 2007 (revision 128174), I get a
> > > bootstrap failure:
> > >
> > > ../../gcc/gcc/ada/trans.c: In function `convert_with_check':
> > > ../../gcc/gcc/ada/trans.c:5896: error: too few arguments to function
> > > `real_2expN'

> >
> > It looks like this is due to this change, not my modification to trans.c:
> >
> > 2007-09-05  Janis Johnson  <[EMAIL PROTECTED]>

I've reverted this patch, and two cleanup patches, in r128193.

Janis