Bootstrap failure on i386-pc-linux-gnu

2007-08-09 Thread FX Coudert
My automated nightly build failed to bootstrap this evening on i386- 
pc-linux-gnu. This is for trunk rev. 127311, and the error is:


/home/fx/gfortran_nightbuild/ibin-20070809/./prev-gcc/xgcc -B/home/ 
fx/gfortran_nightbuild/ibin-20070809/./prev-gcc/ -B/home/fx/ 
gfortran_nightbuild/irun-20070809/i386-pc-linux-gnu/bin/ -c   -g - 
O2 -fomit-frame-pointer -DIN_GCC   -W -Wall -Wwrite-strings - 
Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition - 
Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic- 
macros   -Wno-overlength-strings -Werror- 
DHAVE_CONFIG_H -I. -I. -I/home/fx/gfortran_nightbuild/trunk/gcc -I/ 
home/fx/gfortran_nightbuild/trunk/gcc/. -I/home/fx/ 
gfortran_nightbuild/trunk/gcc/../include -I/home/fx/ 
gfortran_nightbuild/trunk/gcc/../libcpp/include -I/home/fx/ 
gfortran_nightbuild/software/include  -I/home/fx/ 
gfortran_nightbuild/trunk/gcc/../libdecnumber -I/home/fx/ 
gfortran_nightbuild/trunk/gcc/../libdecnumber/bid -I../ 
libdecnumber/home/fx/gfortran_nightbuild/trunk/gcc/tree.c -o  
tree.o

cc1: warnings being treated as errors
/home/fx/gfortran_nightbuild/trunk/gcc/tree.c: In function  
'initializer_zerop':
/home/fx/gfortran_nightbuild/trunk/gcc/tree.c:7694: error: passing  
argument 1 of 'fixed_zerop' discards qualifiers from pointer target  
type

make[3]: *** [tree.o] Error 1
make[3]: Leaving directory `/home/fx/gfortran_nightbuild/ 
ibin-20070809/gcc'

make[2]: *** [all-stage2-gcc] Error 2


I filed PR 33031 for this issue.

Thanks,
FX


RE: Bootstrap failure on i386-pc-linux-gnu

2007-08-09 Thread Fu, Chao-Ying
FX Coudert wrote:

 
 My automated nightly build failed to bootstrap this evening on i386- 
 pc-linux-gnu. This is for trunk rev. 127311, and the error is:
 
  /home/fx/gfortran_nightbuild/ibin-20070809/./prev-gcc/xgcc -B/home/ 
  fx/gfortran_nightbuild/ibin-20070809/./prev-gcc/ -B/home/fx/ 
  gfortran_nightbuild/irun-20070809/i386-pc-linux-gnu/bin/ -c   -g - 
  O2 -fomit-frame-pointer -DIN_GCC   -W -Wall -Wwrite-strings - 
  Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition - 
  Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic- 
  macros   -Wno-overlength-strings -Werror- 
  DHAVE_CONFIG_H -I. -I. -I/home/fx/gfortran_nightbuild/trunk/gcc -I/ 
  home/fx/gfortran_nightbuild/trunk/gcc/. -I/home/fx/ 
  gfortran_nightbuild/trunk/gcc/../include -I/home/fx/ 
  gfortran_nightbuild/trunk/gcc/../libcpp/include -I/home/fx/ 
  gfortran_nightbuild/software/include  -I/home/fx/ 
  gfortran_nightbuild/trunk/gcc/../libdecnumber -I/home/fx/ 
  gfortran_nightbuild/trunk/gcc/../libdecnumber/bid -I../ 
  libdecnumber/home/fx/gfortran_nightbuild/trunk/gcc/tree.c -o  
  tree.o
  cc1: warnings being treated as errors
  /home/fx/gfortran_nightbuild/trunk/gcc/tree.c: In function  
  'initializer_zerop':
  /home/fx/gfortran_nightbuild/trunk/gcc/tree.c:7694: error: passing  
  argument 1 of 'fixed_zerop' discards qualifiers from 
 pointer target  
  type
  make[3]: *** [tree.o] Error 1
  make[3]: Leaving directory `/home/fx/gfortran_nightbuild/ 
  ibin-20070809/gcc'
  make[2]: *** [all-stage2-gcc] Error 2
 
 I filed PR 33031 for this issue.
 
 Thanks,
 FX
 

Thanks a lot!  I think this has been fixed by Michael Matz.

2007-08-09  Michael Matz  [EMAIL PROTECTED]

* tree.h (fixed_zerop): Declare as taking a const_tree.
* tree.c (fixed_zerop): Take a const_tree.

Regards,
Chao-ying