From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tomasz Wielga To: egcs-bugs@egcs.cygnus.com Subject: internal error Date: Wed, 30 Jun 1999 23:07:00 -0000 Message-id: X-SW-Source: 1999-06n/msg00301.html List-Id: Hi Making 'g++ -c bug.cpp' where 'bug.cpp' is: -------------------------- struct X { void f(int, int, int, int) {} }; class A { public: A(); }; class B { public: virtual void aaaaaaaa(X &p) { p.f(0,0,0,0); }; } A::A() { }; --------------------- using: ------ Reading specs from /usr/lib/gcc-lib/i486-linux/egcs-2.91.60/specs gcc version egcs-2.91.60 Debian 2.1 (egcs-1.1.1 release) ----- produces: ------ bug.cpp:20: Internal compiler error. bug.cpp:20: Please submit a full bug report to `egcs-bugs@cygnus.com'. bug.cpp:20: See for details. ------ And so did I. Of course after putting a semicolon at the end of class B definition, where one should be, everything compiles without errors. But it took a little time exactly when I didn't have much. no to pa, Trombka | UWAGA! List bez znaku wodnego | i hologramu jest nieważny.