egcs 1.1.1 : Internal compiler error 373
Michael Schneider
m_schnei@informatik.uni-frankfurt.de
Fri Dec 18 07:45:00 GMT 1998
Hello,
the following (senseless) code produces an internal compiler error:
-------------------------------------------
namespace A {
namespace B { }
}
void f()
{
A::B x; // oops: B is not a class
}
-------------------------------------------
I tried this out on both egcs 1.1b (Linux, Intel Pentium)
and on egcs 1.1.1 (HPUX10.20, HP Appollo). 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/ccmWjy9v.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/ccmWjy9v.ii -quiet -dumpbase x.cc -version -o /var/tmp/cckXWrsq.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: In function `void f()':
x.cc:7: Internal compiler error 373.
x.cc:7: Please submit a full bug report to `egcs-bugs@cygnus.com'.
x.cc:7: See <URL: http://egcs.cygnus.com/faq.html#bugreport > for details.
<snap>
Bye and Merry Christmas,
Michael
Michael Schneider
m_schnei@cs.uni-frankfurt.de
More information about the Gcc-bugs
mailing list