This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

ICE 892 on egcs-2.91.55


The following trivial (incorrect) C++ program cause internal compiler 
error 892. (The compiler is not so long time ago checked out from anoncvs
on egcs 1.1 branch).
-----
int s;

class q {
public:
	int i;
	inline ~q();
};

inline q::~q(bool a) {
	s = i;
}
-----

Here is full verbose diagnostic, in case you need it:

Reading specs from /usr/local/egcs3/lib/gcc-lib/i386-unknown-freebsd2.2.6/egcs-2.91.55/specs
gcc version egcs-2.91.55 19980825 (gcc2 ss-980609 experimental)
 /usr/local/egcs3/lib/gcc-lib/i386-unknown-freebsd2.2.6/egcs-2.91.55/cpp -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=91 -Dunix -Di386 -D__FreeBSD__ -D__unix__ -D__i386__ -D__FreeBSD__ -D__unix -D__i386 -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386) -D__EXCEPTIONS -Asystem(unix) -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ ice892.cc /var/tmp/ccoIxVsa.ii
GNU CPP version egcs-2.91.55 19980825 (gcc2 ss-980609 experimental) (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/egcs3/include/g++
 /usr/local/include
 /usr/local/egcs3/i386-unknown-freebsd2.2.6/include
 /usr/local/egcs3/lib/gcc-lib/i386-unknown-freebsd2.2.6/egcs-2.91.55/include
 /usr/include
End of search list.
 /usr/local/egcs3/lib/gcc-lib/i386-unknown-freebsd2.2.6/egcs-2.91.55/cc1plus /var/tmp/ccoIxVsa.ii -quiet -dumpbase ice892.cc -version -o /var/tmp/ccAtEyLb.s
GNU C++ version egcs-2.91.55 19980825 (gcc2 ss-980609 experimental) (i386-unknown-freebsd2.2.6) compiled by GNU C version egcs-2.91.55 19980825 (gcc2 ss-980609 experimental).
ice892.cc:9: Internal compiler error 892.
ice892.cc:9: Please submit a full bug report to `egcs-bugs@cygnus.com'.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]