C++ PATCH: Empty classes, yet again

Krister Walfridsson cato@df.lth.se
Mon Oct 21 14:40:00 GMT 2002


On Mon, 21 Oct 2002, Mark Mitchell wrote:
> > FWIW. This change introduces a regression for arm-unknown-netbsd1.5Y:
> >
> >    FAIL: g++.abi/vbase8-9.C  Execution test
> >
> > (the test dumps core with a segmentation fault when run.)
>
> How disturbing.
>
> During the construction of which object?  (Try removing lines
> from the end of main until you no longer get an error.)

I can reproduce the problem with

   int main() {
      C9 c9;
   }

All the other constructors work (or they do at least not dump core... ;)

   /Krister




More information about the Gcc-patches mailing list