This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Internal compiler error (with wrong code, though)
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Internal compiler error (with wrong code, though)
- From: Matthias Klose <doko at cs dot tu-berlin dot de>
- Date: Wed, 24 Jan 2001 00:07:29 +0100 (MET)
- CC: 81122 at bugs dot debian dot org
[submitted to the Debian BTS, reproduceable with CVS 20010121 on i386-linux]
From: Michael Piefel <piefel@informatik.hu-berlin.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Internal compiler error (with wrong code, though)
The following little program (this is the *.ii file)
---snip---
# 1 "k.cc"
class _fred {
virtual void do_it(int, int) =0;
};
typedef _fred * fred;
class _barney:public _fred{
using fred::do_it;
};
---snip---
causes an internal compiler error 89 in line 9 when using "g++ -c".
Note that of course the code is wrong, as fred is the pointer not the
class, but an internal compiler error is a little harsh an error
message.
This is not the known using-bug found on the web page, AFAICS.
Bye,
Mike