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]

971105: another internal compiler error


The following little source file:

ice.cc:
	class foo {
		typedef int sometype;
	};

	struct die : public foo::sometype {
	};

produces an internal compiler error under 971105, as shown below.  It
has the same effect on "i486-pc-linux-gnulibc1" and "sparc-sun-solaris2.5.1".

Kevin <buhr@stat.wisc.edu>

			*	*	*

mozart:~/src/examples% g++ -v -c ice.cc
Reading specs from /usr/local/lib/gcc-lib/i486-pc-linux-gnulibc1/egcs-2.90.16/specs
gcc version egcs-2.90.16 971105 (gcc2-970802 experimental)
 /usr/local/lib/gcc-lib/i486-pc-linux-gnulibc1/egcs-2.90.16/cpp -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=90 -D__ELF__ -Dunix -Dlinux -D__ELF__ -D__unix__ -D__linux__ -D__unix -D__linux -Asystem(posix) -D__EXCEPTIONS -Di386 -Di486 -Asystem(unix) -Acpu(i386) -Amachine(i386) -D__i386__ -D__i486__ -Asystem(unix) -Acpu(i386) -Amachine(i386) ice.cc /tmp/cca03317.ii
GNU CPP version egcs-2.90.16 971105 (gcc2-970802 experimental) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include/g++
 /usr/local/include
 /usr/local/i486-pc-linux-gnulibc1/include
 /usr/local/lib/gcc-lib/i486-pc-linux-gnulibc1/egcs-2.90.16/include
 /usr/include
End of search list.
 /usr/local/lib/gcc-lib/i486-pc-linux-gnulibc1/egcs-2.90.16/cc1plus /tmp/cca03317.ii -quiet -dumpbase ice.cc -version -o /tmp/cca03317.s
GNU C++ version egcs-2.90.16 971105 (gcc2-970802 experimental) (i486-pc-linux-gnulibc1) compiled by GNU C version egcs-2.90.13 971016 (gcc2-970802 experimental).
ice.cc:5: Internal compiler error.
ice.cc:5: Please submit a full bug report to `egcs-bugs@cygnus.com'.
mozart:~/src/examples% 


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