Hi, The code at the bottom compiled with this line gcc -fprofile-arcs -O2 -c kk.cpp causes this crash gcc: Internal error: Segmentation fault (program cc1plus)
It occurs on both: * Suse 11.0 with gcc (SUSE Linux) 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036] (rpms: gcc43-4.3.1_20080507-6.1 and gcc-c++-4.3-39.1) * gcc 4.3.1 compiled with default options on Suse 10.2 best regards #include <vector> class PathElement { public: float a; ~PathElement() {} }; class PathPlanning { public: std::vector<PathElement> v; PathPlanning(); }; PathPlanning offset2[2]; -- Summary: Segmentation fault with -fprofile-arcs -O2 Product: gcc Version: 4.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gcc at dpinol dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36768