Bug report (Internal compiler error)

Kostas Gewrgiou gewrgiou@imbc.gr
Mon Apr 13 04:11:00 GMT 1998

Version info:
GNU C++ version egcs-2.90.23 980102 (egcs-1.0.1 release)
(sparc-sun-solaris2.6) compiled by GNU C version 2.8.0.
uname -a:   SunOS xxxxxxx 5.6 Generic sun4c sparc SUNW,Sun_4_75

compiling the following file with gcc -c testfile.cpp fails with:
testfile.cpp: In function `static int aclass::afunc()':
testfile.cpp:9: Internal compiler error.
testfile.cpp:9: Please submit a full bug report to `egcs-bugs@cygnus.com'.

-----------------------testfile.cpp -------------------------
class aclass {
    static short aval;
    static int afunc();

int aclass::afunc() {
  extern short aclass::aval;


More information about the Gcc-bugs mailing list