[Bug c++/33109] New: ICE: segfault while compiling c++ code
tim at klingt dot org
gcc-bugzilla@gcc.gnu.org
Sat Aug 18 18:29:00 GMT 2007
hi all,
when compiling attached file, g++ crashes with an ICE:
gcc version:
tim@laptop:~/workspace/nova$ g++-4.2 -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2
--enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr
--enable-targets=all --disable-werror --enable-checking=release
--build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.1 (Debian 4.2.1-3)
(it also crashes with gcc-4.1)
command line arguments when compiling:
tim@laptop:~/workspace/nova$ g++-4.2 -o release/kernel/kernel_build.os -c
-finline-limit-2500 -ftree-vectorize -ffast-math --param
large-function-growth=1000 --param inline-unit-growth=1000 -O3 -march=nocona
-mfpmath=sse -msse -ftemplate-depth-4096 -Wnon-virtual-dtor -fPIC
-D__LITTLE_ENDIAN__ -DHAVE_POSIX_MEMALIGN -DHAVE_UNISTD_H -DHAVE_SEMAPHORE_H
-DHAVE_TIMES_H -DHAVE_PORTAUDIO -DREVISION=\"0.1\" -DDL_OPEN -DHAVE_TBB
-DNDEBUG -I/usr/include/python2.5 -Ilibs/boost_asio -Ilibs/uuid
-Ilibs/property_tree -Ilibs/intrusive -Ilibs/pri_queue -Ilibs/libatomic_ops/src
-Ilibs/oscpack -Ilibs/muparser/include -Ilibs -Ilibs/sparsehash-0.6/src
-Ilibs/libresample-0.1.3/include -Irelease -Isource
release/kernel/kernel_build.cpp -save-temps
attached you can find the compressed preprocessed source file. a kernel_build.s
file has been created as well, but it is empty.
i hope this helps to find the bug ...
--
Summary: ICE: segfault while compiling c++ code
Product: gcc
Version: 4.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tim at klingt dot org
GCC host triplet: i486-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33109
More information about the Gcc-bugs
mailing list