GNU C++ version 3.5.0 20040627 (experimental) (i686-pc-linux-gnu) Configured with: ../configure --prefix=/tmp --enable-threads=posix --enable-languages=c++ --enable-version-specific-runtime-libs The following code compiled with "g++ -Wall" qives: x.cc: In destructor `aaa::~aaa()': x.cc:14: internal compiler error: Segmentation fault Wthout "-Wall" it compiles ok. class xxx { public: ~xxx(){} }; class aaa { public: xxx* v; ~aaa() { delete[] v; } };
It's a duplicate of PR 16205 and PR 16247. Fortunately the bug has been fixed on 2004-06-28. *** This bug has been marked as a duplicate of 16205 ***