This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c++/3494: Internal compiler error (with wrong code, though)
- To: gcc-gnats at gcc dot gnu dot org, debian-gcc at lists dot debian dot org
- Subject: c++/3494: Internal compiler error (with wrong code, though)
- From: Matthias Klose <doko at klose dot in-berlin dot de>
- Date: Sat, 30 Jun 2001 13:38:48 +0200
- Reply-To: 81122-quiet at bugs dot debian dot org
>Number: 3494
>Category: c++
>Synopsis: Internal compiler error (with wrong code, though)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: ice-on-illegal-code
>Submitter-Id: net
>Arrival-Date: Sat Jun 30 04:46:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Michael Piefel <piefel@informatik.hu-berlin.de>
>Release: 3.0 (Debian GNU/Linux)
>Organization:
The Debian project
>Environment:
System: Debian GNU/Linux (testing/unstable)
Architecture: i686
host: i386-linux
build: i386-linux
target: i386-linux
configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,objc --prefix=/usr --infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --disable-checking --enable-threads=posix --enable-java-gc=boehm --with-cpp-install-dir=bin --enable-objc-gc i386-linux
>Description:
[ Reported to the Debian BTS as report #81122.
Please CC 81122-quiet@bugs.debian.org on replies.
Log of report can be found at http://bugs.debian.org/81122 ]
http://gcc.gnu.org/ml/gcc-bugs/2001-01/msg00721.html
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.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: