[Bug bootstrap/53449] New: [4.8 regression] fortran fails to build
vincenzo.innocente at cern dot ch
gcc-bugzilla@gcc.gnu.org
Tue May 22 10:25:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53449
Bug #: 53449
Summary: [4.8 regression] fortran fails to build
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: vincenzo.innocente@cern.ch
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
More information about the Gcc-bugs
mailing list