This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14359] New: ice in tsubst_copy random_demo.cpp (boost) regression
- From: "schmid at snake dot iap dot physik dot tu-darmstadt dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Mar 2004 09:11:19 -0000
- Subject: [Bug c++/14359] New: ice in tsubst_copy random_demo.cpp (boost) regression
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
While compiling the file boost/libs/random/random_test.cpp from the current
boost repository, gcc 3.4.0 crashes with an ice, whereas gcc 3.3 does not. I
guess this is a regression.
gcc 3.4.0
g++ -v -c -Wall -ftemplate-depth-100 -g -O0 -fno-inline -I"../bin/boost/
libs/random/test" -I "/home/peter/gnu/boost" -o "../bin/boost/libs/random/
test/random_demo.test/gcc/debug/random_demo.o" "/home/peter/gnu/boost/libs/
random/random_demo.cpp"
Reading specs from /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.0/specs
Configured with: ../gcc/configure --enable-threads=posix --enable-languages=c,c
++,f77,objc --enable-__cxa_atexit --enable-libstdcxx-debug
Thread model: posix
gcc version 3.4.0 20040228 (prerelease)
/usr/local/libexec/gcc/i686-pc-linux-gnu/3.4.0/cc1plus -quiet -v -I../bin/
boost/libs/random/test -I /home/peter/gnu/boost -D_GNU_SOURCE /home/peter/gnu/
boost/libs/random/random_demo.cpp -quiet -dumpbase random_demo.cpp
-mtune=pentiumpro -auxbase-strip ../bin/boost/libs/random/test/
random_demo.test/gcc/debug/random_demo.o -g -O0 -Wall -version
-ftemplate-depth-100 -fno-inline -o /tmp/cchWQVMM.s
ignoring nonexistent directory "NONE/include"
ignoring nonexistent directory "/usr/local/lib/gcc/
i686-pc-linux-gnu/3.4.0/../../../../i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
../bin/boost/libs/random/test
/home/peter/gnu/boost
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../../include/c++/3.4.0
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../../include/c++/3.4.0/
i686-pc-linux-gnu
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../../include/c++/3.4.0/
backward
/usr/local/include
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.0/include
/usr/include
End of search list.
GNU C++ version 3.4.0 20040228 (prerelease) (i686-pc-linux-gnu)
compiled by GNU C version 3.4.0 20040228 (prerelease).
GGC heuristics: --param ggc-min-expand=64 --param ggc-min-heapsize=64274
/home/peter/gnu/boost/boost/random/linear_congruential.hpp: In function
`std::basic_ostream<_CharT2, _Traits2>&
boost::random::operator<<(std::basic_ostream<_CharT2, _Traits2>&, const
boost::random::linear_congruential<IntType, a, c, m, val>&) [with CharT = char,
Traits = std::char_traits<char>, IntType = int32_t, IntType a = 48271, IntType
c = 0, IntType m = 2147483647, IntType val = 399268537]':
/home/peter/gnu/boost/libs/random/random_demo.cpp:127: instantiated from here
/home/peter/gnu/boost/boost/random/linear_congruential.hpp:124: internal
compiler error: in tsubst_copy, at cp/pt.c:7384
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
gcc 3.3
/usr/bin/g++ -v -c -Wall -ftemplate-depth-100 -g -O0 -fno-inline -I"../
bin/boost/libs/random/test" -I "/home/peter/gnu/boost" -o "../bin/boost/libs/
random/test/random_demo.test/gcc/debug/random_demo.o" "/home/peter/gnu/boost/
libs/random/random_demo.cpp"
Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.1/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/
man --libdir=/usr/lib --enable-languages=c,c++,f77,objc,java,ada
--disable-checking --enable-libgcj --with-gxx-include-dir=/usr/include/g++
--with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit
i586-suse-linux
Thread model: posix
gcc version 3.3.1 (SuSE Linux)
/usr/lib/gcc-lib/i586-suse-linux/3.3.1/cc1plus -quiet -v -I../bin/boost/libs/
random/test -I /home/peter/gnu/boost -D__GNUC__=3 -D__GNUC_MINOR__=3
-D__GNUC_PATCHLEVEL__=1 -D_GNU_SOURCE /home/peter/gnu/boost/libs/random/
random_demo.cpp -D__GNUG__=3 -quiet -dumpbase random_demo.cpp
-auxbase-strip ../bin/boost/libs/random/test/random_demo.test/gcc/debug/
random_demo.o -g -O0 -Wall -version -ftemplate-depth-100 -fno-inline -o /tmp/
ccABoIDO.s
GNU C++ version 3.3.1 (SuSE Linux) (i586-suse-linux)
compiled by GNU C version 3.3.1 (SuSE Linux).
GGC heuristics: --param ggc-min-expand=64 --param ggc-min-heapsize=64274
#include "..." search starts here:
#include <...> search starts here:
../bin/boost/libs/random/test
/home/peter/gnu/boost
/usr/include/g++
/usr/include/g++/i586-suse-linux
/usr/include/g++/backward
/usr/local/include
/usr/lib/gcc-lib/i586-suse-linux/3.3.1/include
/usr/i586-suse-linux/include
/usr/include
End of search list.
/usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../../../i586-suse-linux/bin/as -V
-Qy -o ../bin/boost/libs/random/test/random_demo.test/gcc/debug/random_demo.o /
tmp/ccABoIDO.s
GNU assembler version 2.14.90.0.5 (i586-suse-linux) using BFD version
2.14.90.0.5 20030722 (SuSE Linux)
--
Summary: ice in tsubst_copy random_demo.cpp (boost) regression
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: critical
Priority: P1
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: schmid at snake dot iap dot physik dot tu-darmstadt dot
de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: 686-pc-linux-gnu
GCC host triplet: 686-pc-linux-gnu
GCC target triplet: 686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14359