This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Internal compiler error 892
- To: egcs-bugs at cygnus dot com
- Subject: Internal compiler error 892
- From: Wolfgang Wander <wwc at ibm dot net>
- Date: Sat, 7 Nov 1998 15:42:41 -0500
- Reply-To: wwc at ibm dot net
Hi,
I hope this info is complete enough. egcs 1.1b dies when it detects
a destructor that contains an argument (yes this violates the C++
standard but egcs should report the error instead of reporting
Internal compiler error 892).
details below.
Wolfgang
$ g++ -v -c test.cc
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.91.57/specs
gcc version egcs-2.91.57 19980901 (egcs-1.1 release)
/usr/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.91.57/cpp -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=91 -D__ELF__ -Dunix -Dlinux -D__ELF__ -D__unix__ -D__linux__ -D__unix -D__linux -Asystem(posix) -D__EXCEPTIONS -Asystem(unix) -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -Di686 -Dpentiumpro -D__i686 -D__i686__ -D__pentiumpro -D__pentiumpro__ test.cc /tmp/ccu4Yzbe.ii
GNU CPP version egcs-2.91.57 19980901 (egcs-1.1 release) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
/usr/include/g++
/usr/local/include
/usr/i686-pc-linux-gnu/include
/usr/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.91.57/include
/usr/include
End of search list.
/usr/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.91.57/cc1plus /tmp/ccu4Yzbe.ii -quiet -dumpbase test.cc -version -o /tmp/ccuaJrxj.s
GNU C++ version egcs-2.91.57 19980901 (egcs-1.1 release) (i686-pc-linux-gnu) compiled by GNU C version egcs-2.91.57 19980901 (egcs-1.1 release).
test.cc:8: Internal compiler error 892.
test.cc:8: Please submit a full bug report to `egcs-bugs@cygnus.com'.
test.cc:
--------
class A {
public:
A();
~A();
};
A::~A( A &bug)
{
cout << "yes this is a bug but egcs 1.1b dies instead of reporting it";
}
Linux host.domain 2.0.36 #155-2.0 2.0 Sun Oct 11 18:43:35 EDT 1998 i686 unknown
# This directory was configured as follows:
./configure --with-gcc-version-trigger=/usr/local/src/egcs-1.1b/gcc/version.c --host=i686-pc-linux-gnu --prefix=/usr --program-transform-name=s/gcc/egcs/ --norecursion
PS: Thanks for egcs (but you know that, don't you?)