Package: gcc-snapshot Version: 20030909-1 Severity: normal The following code causes the compiler to SIGSEV in x86:
//////////////////// tst.cpp ///////////////////////////// #include <vector> class A; std::vector < A * > getA() { std::vector< A * > a; return a; } ////////////////////////////////////////////////////////// Compiling with: $ /usr/lib/gcc-snapshot/bin/g++ -c -pg -c tst.cpp tst.cpp: In function `std::vector<A*, std::allocator<A*> > getA()': tst.cpp:9: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. Compiling without the "-pg" switch works. Thanks, Daniel. -- System Information: Debian Release: testing/unstable Architecture: i386 Kernel: Linux pcdaniel 2.4.21-5-k7 #1 Mon Aug 25 08:09:01 EST 2003 i686 Locale: LANG=en_US.ISO-8859-1, LC_CTYPE=en_US.ISO-8859-1 Versions of some packages gcc-snapshot depends on: ii binutils 2.14.90.0.5-0.2 The GNU assembler, linker and bina ii libc6 2.3.2-6 GNU C Library: Shared libraries an ii zlib1g 1:1.1.4-14 compression library - runtime -- no debconf information