with revision 187761 I now get an error while building fortran In file included from ../../gcc-trunk/gcc/fortran/trans-common.c:1310:0, from ./gt-fortran-trans-io.h:88, from :4794: ../../gcc-trunk/gcc/fortran/parse.c: In function 'gfc_parse_file': ../../gcc-trunk/gcc/fortran/parse.c:4603:60: error: 'errors_before' may be used uninitialized in this function [-Werror=maybe-uninitialized] gfc_dump_module (s.sym->name, errors_before == errors); ^ In file included from ../../gcc-trunk/gcc/fortran/trans-common.c:1310:0, from ./gt-fortran-trans-io.h:88, from :4794: ../../gcc-trunk/gcc/fortran/parse.c:4487:21: note: 'errors_before' was declared here int seen_program, errors_before, errors; ^ lto1: all warnings being treated as errors make[4]: *** [/tmp/innocent/ccixchHw.ltrans30.ltrans.o] Error 1 configuration that fails ../gcc-trunk/configure --prefix=/afs/cern.ch/user/i/innocent/w2 --enable-languages=c,c++,fortran -enable-gold=yes --enable-lto --with-build-config=bootstrap-lto --with-gmp-lib=/usr/local/lib64 --with-mpfr-lib=/usr/local/lib64 -with-mpc-lib=/usr/local/lib64 --enable-cloog-backend=isl --with-cloog=/usr/local --with-ppl-lib=/usr/local/lib64 CFLAGS='-O2 -ftree-vectorize -fPIC' CXXFLAGS='-O2 -fPIC -ftree-vectorize -fvisibility-inlines-hidden -march=native' -enable-libitm -disable-multilib configuration that succeeds ../gcc-trunk/configure --enable-languages=c,c++,fortran --disable-multilib --enable-gold=yes --disable-nls --enable-lto --with-mpc=/afs/cern.ch/cms/slc5_amd64_gcc470/external/gcc/4.7.0 --with-gmp=/afs/cern.ch/cms/slc5_amd64_gcc470/external/gcc/4.7.0 --with-mpfr=/afs/cern.ch/cms/slc5_amd64_gcc470/external/gcc/4.7.0 --prefix=/afs/cern.ch/user/i/innocent/w3/gcc47slc5
LTO bootstrap I suppose.
Frontend issue (if it still prevails).
(In reply to comment #2) > Frontend issue (if it still prevails). Patch at [1]. [1] http://gcc.gnu.org/ml/gcc-patches/2012-07/msg00145.html
Author: uros Date: Thu Jul 5 07:22:17 2012 New Revision: 189281 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189281 Log: * expmed.c (expand_mult): Initialize coeff and is_neg. java/ChangeLog: * jcf-io.c (read_zip_member): Initialize d_stream. fortran/ChangLog: PR fortran/53449 * parse.c (gfc_parse_file): Initialize errors_before. Modified: trunk/gcc/ChangeLog trunk/gcc/expmed.c trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/parse.c trunk/gcc/java/ChangeLog trunk/gcc/java/jcf-io.c
Fixed.