[Bug bootstrap/50758] [4.7 Regression] Bootstrap fails at stage 2 on x86_64-apple-darwin10: error: variable 'token_no' set but not used

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Mon Oct 17 19:40:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50758

--- Comment #6 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-10-17 19:40:06 UTC ---
> The warning is not bogus when you are compiling with --disable-checking
> or when your GCC_VERSION is < 2007.  ...

I am using

../work/configure --prefix=/opt/gcc/gcc4.7w
--enable-languages=c,c++,fortran,objc,obj-c++,java,ada,lto --with-gmp=/opt/sw64
--with-libiconv-prefix=/opt/sw64 --with-system-zlib --with-cloog=/opt/sw64
--enable-cloog-backend=isl --enable-lto

so no --disable-checking and the bootstrap gcc is

configure:4007: gcc --version >&5
gcc (GCC) 4.5.3 20110419 for GNAT GPL 2011 (20110419)

What am I missing?



More information about the Gcc-bugs mailing list