egcs 1.1.1 : internal compiler error 980711
Michael Schneider
m_schnei@informatik.uni-frankfurt.de
Fri Dec 18 06:13:00 GMT 1998
Hello!
The following C++ code results in an internal compiler error
on both egcs 1.1b (Linux, Intel Pentium) and on egcs 1.1.1
(HPUX10.20, HP Apollo):
----------------------------------
// #include <vector> /* !!! Header NOT used !!! */
class A { };
class B {
typedef std::vector<A> A_Vector;
};
----------------------------------
Here's what egcs 1.1.1 sayes:
<snip>
bash-2.00$ g++ -c -v x.cc
Reading specs from /usr/local/pkg/languages/egcs/1.1.1/lib/gcc-lib/hppa1.1-hp-hpux10.20/egcs-2.91.60/specs
gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)
/usr/local/pkg/languages/egcs/1.1.1/lib/gcc-lib/hppa1.1-hp-hpux10.20/egcs-2.91.60/cpp -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=91 -Dhppa -Dhp9000s800 -D__hp9000s800 -Dhp9k8 -DPWB -Dhpux -Dunix -D__hppa__ -D__hp9000s800
__ -D__hp9000s800 -D__hp9k8__ -D__PWB__ -D__hpux__ -D__unix__ -D__hppa -D__hp9000s800 -D__hp9k8 -D__PWB -D__hpux -D__unix -Asystem(unix) -Asystem(hpux) -Acpu(hppa) -Amachine(hppa) -D__EXCEPTIONS -D__hp9000s700 -D_PA_RISC1_1 -D_HPUX_SOURCE -D_HIUX_SOURCE x
.cc /var/tmp/ccdui6ka.ii
GNU CPP version egcs-2.91.60 19981201 (egcs-1.1.1 release) (hppa)
#include "..." search starts here:
#include <...> search starts here:
/usr/local/pkg/languages/egcs/1.1.1/include/g++
/usr/local/include
/usr/local/pkg/languages/egcs/1.1.1/hppa1.1-hp-hpux10.20/include
/usr/local/pkg/languages/egcs/1.1.1/lib/gcc-lib/hppa1.1-hp-hpux10.20/egcs-2.91.60/include
/usr/include
End of search list.
/usr/local/pkg/languages/egcs/1.1.1/lib/gcc-lib/hppa1.1-hp-hpux10.20/egcs-2.91.60/cc1plus /var/tmp/ccdui6ka.ii -quiet -dumpbase x.cc -version -o /var/tmp/cc3WtMWR.s
GNU C++ version egcs-2.91.60 19981201 (egcs-1.1.1 release) (hppa1.1-hp-hpux10.20) compiled by GNU C version egcs-2.91.60 19981201 (egcs-1.1.1 release).
x.cc:6: Internal compiler error 980711.
x.cc:6: Please submit a full bug report to `egcs-bugs@cygnus.com'.
x.cc:6: See <URL: http://egcs.cygnus.com/faq.html#bugreport > for details.
<snap>
Greetings, and many thanks for the great work until now!
Michael
Michael Schneider
m_schnei@cs.uni-frankfurt.de
More information about the Gcc-bugs
mailing list