This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
internal error
- To: egcs-bugs at egcs dot cygnus dot com
- Subject: internal error
- From: Tomasz Wielga <trombka at prioris dot im dot pw dot edu dot pl>
- Date: Thu, 10 Jun 1999 15:25:13 +0200 (CEST)
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 <URL:http://egcs.cygnus.com/faq.html#bugreport> 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
<trombka@prioris.im.pw.edu.pl> | i hologramu jest nieważny.