public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/3494: Internal compiler error (with wrong code, though)
@ 2001-06-30  4:46 Matthias Klose
  0 siblings, 0 replies; 3+ messages in thread
From: Matthias Klose @ 2001-06-30  4:46 UTC (permalink / raw)
  To: gcc-gnats, debian-gcc

>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:


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: c++/3494: Internal compiler error (with wrong code, though)
@ 2002-02-23 18:36 rodrigc
  0 siblings, 0 replies; 3+ messages in thread
From: rodrigc @ 2002-02-23 18:36 UTC (permalink / raw)
  To: 81122-quiet, gcc-bugs, gcc-prs, gdr, piefel

Synopsis: Internal compiler error (with wrong code, though)

State-Changed-From-To: analyzed->closed
State-Changed-By: rodrigc
State-Changed-When: Sat Feb 23 18:33:49 2002
State-Changed-Why:
    With gcc 3.0.4, the following compiler ICE occurs:
    k.cc:1: warning: all member functions in class `_fred' are private
    k.cc:7: Internal error #89.
    k.cc:7: Internal compiler error in get_binfo, at cp/search.c:273
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
    
    
    With gcc version 3.1 20020217 (experimental), the compiler
    does not ICE and the following compilation error results:
    
    
    k.cc:1: warning: all member functions in class `_fred' are private
    k.cc:7: type `_fred*' is not a base type for type `_barney'

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3494


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: c++/3494: Internal compiler error (with wrong code, though)
@ 2001-08-12  3:12 gdr
  0 siblings, 0 replies; 3+ messages in thread
From: gdr @ 2001-08-12  3:12 UTC (permalink / raw)
  To: 81122-quiet, gcc-bugs, gcc-prs, gdr, nobody, piefel

Synopsis: Internal compiler error (with wrong code, though)

Responsible-Changed-From-To: unassigned->gdr
Responsible-Changed-By: gdr
Responsible-Changed-When: Sun Aug 12 03:12:36 2001
Responsible-Changed-Why:
    See below.
State-Changed-From-To: open->analyzed
State-Changed-By: gdr
State-Changed-When: Sun Aug 12 03:12:36 2001
State-Changed-Why:
    Pacth in progress.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3494&database=gcc


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-02-24  2:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-30  4:46 c++/3494: Internal compiler error (with wrong code, though) Matthias Klose
2001-08-12  3:12 gdr
2002-02-23 18:36 rodrigc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).