With last rawhide g++ this simple program make it segfault : struct a { int a; }; struct b : a {};
Should be fixed by http://gcc.gnu.org/ml/gcc-patches/2001-02/msg01190.html (well, I have actually 3 possible patches, this one is the safest (but slowest in the rare case structure has the same field name as itself). Note that gcc-2.95 and earlier would give an error for such code, that's why haven't worked on this before. The patch will make it into gcc-c++-2.96-76.