This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c++/536: Internal compiler error in start_function, at cp/decl.c:13874
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/536: Internal compiler error in start_function, at cp/decl.c:13874
- From: pfeifer at dbai dot tuwien dot ac dot at (Gerald Pfeifer)
- Date: Thu, 14 Sep 2000 17:55:33 +0200 (CEST)
- Cc: Mark Mitchell <mark at codesourcery dot com>
- Resent-Cc: gcc-prs at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, jason at gcc dot gnu dot org
- Resent-Reply-To: gcc-gnats@gcc.gnu.org, pfeifer@dbai.tuwien.ac.at (Gerald Pfeifer)
>Number: 536
>Category: c++
>Synopsis: Internal compiler error in start_function, at cp/decl.c:13874
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-illegal-code
>Submitter-Id: net
>Arrival-Date: Thu Sep 14 08:56:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Gerald Pfeifer
>Release: 2.96
>Organization:
>Environment:
System: FreeBSD taygeta.dbai.tuwien.ac.at 4.1-RELEASE FreeBSD 4.1-RELEASE #0: Fri Aug 4 18:40:26 CEST 2000 root@spica.dbai.tuwien.ac.at:/usr/src/sys/compile/DBAI_KERNEL_4.1 i386
host: i386-unknown-freebsd4.1
build: i386-unknown-freebsd4.1
target: i386-unknown-freebsd4.1
>Description:
When compiling the following snippet:
class T;
inline void operator<(T&, T&) { }
inline void operator<(T&, T&) { }
GCC (current CVS) crashes:
taygeta[185]:~/PROJ/dlv% gccvs x.C
x.cc: In function `void operator< (T &, T &)':
x.cc:3: redefinition of `void operator< (T &, T &)'
x.cc:2: `void operator< (T &, T &)' previously defined here
x.cc: In function `void operator< (T &, T &)':
x.cc:3: Internal error #20000911.
x.cc:3: Internal compiler error in start_function, at cp/decl.c:13874
(This assertion was added by Mark three days ago. I'm a bit
astonished that we really don't have any test in the testsuite
that caught that!)
>How-To-Repeat:
gcc x.cc
(The problem is also reproducible on sparc-sun-solaris2.8.)
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: