Hi,
When bootstrapping rev. 109012 on ia64-linux (checked out around 9am GMT
today), I get
make[3]: Entering directory `/mnt/sda5/bonzo/obj-trunk/stage2-libdecnumber'
source='../../trunk/libdecnumber/decNumber.c' object='decNumber.o'
libtool=no /home/bonzo/local/obj-trunk/./prev-gcc/xgcc
-B/home/bonzo/local/obj-trunk/./prev-gcc/
-B/mnt/sda5/bonzo/obj-trunk//ia64-unknown-linux-gnu/bin/
-I../../trunk/libdecnumber -I. -g -O2 -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -pedantic -Wno-long-long -Werror
-I../../trunk/libdecnumber -I. -c ../../trunk/libdecnumber/decNumber.c
cc1: warnings being treated as errors
../../trunk/libdecnumber/decNumber.c: In function 'decToString':
../../trunk/libdecnumber/decNumber.c:2013: warning: value computed is
not used
make[3]: *** [decNumber.o] Error 1
Looking at the source, the warning seems to be spurious:
static void
decToString (decNumber * dn, char *string, Flag eng)
{
<...>
char *c = string; /* work [output pointer] */
<...>
if (dn->bits & DECSPECIAL)
{ /* Is a special value */
if (decNumberIsInfinite (dn))
{
strcpy (c, "Infinity"); <--- here
return;
}
And when specifying --disable-werror, I get a comparison failure:
Bootstrap comparison failure!
./gcc.o differs
Is this known or am I just broke my installation? GCC was configured
just with --prefix, and I used 3.4.3 for stage1.
Andrey