This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/16242] New: bootstrap fails: invalid initialization of reference of type 'long double&' from expre
- From: "eesrjhc at bath dot ac dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Jun 2004 09:48:09 -0000
- Subject: [Bug bootstrap/16242] New: bootstrap fails: invalid initialization of reference of type 'long double&' from expre
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
ssion of type 'long int'
X-Bugzilla-Reason: CC
CVS updated 2004-06-28 07:56 UT
ee-newton:/newton/roger/build-cvs $ rm -rf *
ee-newton:/newton/roger/build-cvs $ /gilbert/roger/src/gcc-cvs/gcc/configure
--prefix=/usr/local/gcc-cvs --enable-languages=c,c++,f95 --with-gmp=/usr/local
ee-newton:/newton/roger/build-cvs $ make bootstrap
.
.
.
/newton/roger/build-cvs/gcc/xgcc -shared-libgcc -B/newton/roger/build-cvs/gcc/ -
nostdinc++ -L/newton/roger/build-cvs/x86_64-unknown-linux-gnu/libstdc++-v3/src -
L/newton/roger/build-cvs/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs -B/usr/
local/gcc-cvs/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc-cvs/x86_64-unknown-
linux-gnu/lib/ -isystem /usr/local/gcc-cvs/x86_64-unknown-linux-gnu/include -isy
stem /usr/local/gcc-cvs/x86_64-unknown-linux-gnu/sys-include -I/newton/roger/bui
ld-cvs/x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu -I
/newton/roger/build-cvs/x86_64-unknown-linux-gnu/libstdc++-v3/include -I/gilbert
/roger/src/gcc-cvs/gcc/libstdc++-v3/libsupc++ -O2 -g -O2 -g -O2 -D_GNU_SOURCE -f
no-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -fdiagnostics-sh
ow-location=once -ffunction-sections -fdata-sections -c /gilbert/roger/src/gcc-c
vs/gcc/libstdc++-v3/src/complex_io.cc -fPIC -DPIC -o .libs/complex_io.o
In file included from /gilbert/roger/src/gcc-cvs/gcc/libstdc++-v3/src/complex_io
.cc:30:
/newton/roger/build-cvs/x86_64-unknown-linux-gnu/libstdc++-v3/include/complex: I
n member function `long double& std::complex<long double>::real()':
/newton/roger/build-cvs/x86_64-unknown-linux-gnu/libstdc++-v3/include/complex:12
96: error: invalid initialization of reference of type 'long double&' from expre
ssion of type 'long int'
/newton/roger/build-cvs/x86_64-unknown-linux-gnu/libstdc++-v3/include/complex: I
n member function `long double& std::complex<long double>::imag()':
/newton/roger/build-cvs/x86_64-unknown-linux-gnu/libstdc++-v3/include/complex:13
04: error: invalid initialization of reference of type 'long double&' from expre
ssion of type 'long int'
make[4]: *** [complex_io.lo] Error 1
make[4]: Leaving directory `/newton/roger/build-cvs/x86_64-unknown-linux-gnu/lib
stdc++-v3/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/newton/roger/build-cvs/x86_64-unknown-linux-gnu/lib
stdc++-v3'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/newton/roger/build-cvs/x86_64-unknown-linux-gnu/lib
stdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/newton/roger/build-cvs'
make: *** [bootstrap] Error 2
ee-newton:/newton/roger/build-cvs $
--
Summary: bootstrap fails: invalid initialization of reference of
type 'long double&' from expre
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: eesrjhc at bath dot ac dot uk
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16242