egcs still broken

Felix von Leitner leitner@math.fu-berlin.de
Wed Jul 1 08:05:00 GMT 1998


This is a minimum test case:

  class bug {
  public:
    virtual void purevirtual()=0;
  };
  main() { }

Compiling this on my alphaev56-unknown-linux-gnu box with the cc1plus
from today's egcs yields:

  /tmp/cc4FpBam: In function `global constructors keyed to main':
  t.C(.text+0xa0): undefined reference to `bug::purevirtual(void)'
  collect2: ld returned 1 exit status

Felix



More information about the Gcc-bugs mailing list