--- test.cc ------------------ struct A { ~A() {} }; A f(const A& a); struct B { bool g(const A&); int i; }; bool B::g(const A& a) { g(f(a)); g(a); i = 0; } ------------------------------- > g++ -fmudflap test.cc test.cc: In member function 'bool B::g(const A&)': test.cc:10: internal compiler error: Segmentation fault > g++ --version g++ (GCC) 4.0.3 20060115 (prerelease) (Debian 4.0.2-7) I can't reproduce this with '4.0.1' or with '4.2.0 20060124'. So possibly the bug is already fixed.
*** This bug has been marked as a duplicate of 17533 ***
woops wrong bug.
*** This bug has been marked as a duplicate of 19266 ***