PLEASE REPLY TO [EMAIL PROTECTED] ONLY, *NOT* [EMAIL PROTECTED] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12421
Summary: [3.4 regression] ICE with -pg Product: gcc Version: 3.4 Status: UNCONFIRMED Severity: critical Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: debian-gcc at lists dot debian dot org CC: gcc-bugs at gcc dot gnu dot org [forwarded from http://bugs.debian.org/210328] seen with HEAD 20030925, not seen with 3.3 20030909 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: $ 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. ------- Bug moved to this database by [EMAIL PROTECTED] 2003-09-26 15:39 ------- This bug previously known as bug 12407 at http://dberlin.org/bugzilla/ http://dberlin.org/bugzilla/show_bug.cgi?id=12407 Originally filed under the gcc product and c++ component. ------- You are receiving this mail because: ------- You reported the bug, or are watching the reporter.