Internal compiler error 981117

Peter Simons simons@cys.de
Sun Mar 21 10:30:00 GMT 1999


While compiling the following program with egcs-2.93.09

     #include <iostream>
     #include <string>

     int main()
     {
	 string s("Hello World");
	 cout << s << endl;
	 return 0;
     }

I got the following error:

simons@peti:/tmp$ g++ -Wall test.cpp -o test -fnew-abi
In file included from /usr/local/egcs/lib/gcc-lib/i386-unknown-netbsd1.3.2/egcs-2.93.09/include/g++-2/iterator:38,
                 from /usr/local/egcs/lib/gcc-lib/i386-unknown-netbsd1.3.2/egcs-2.93.09/include/g++-2/std/bastring.h:44,
                 from /usr/local/egcs/lib/gcc-lib/i386-unknown-netbsd1.3.2/egcs-2.93.09/include/g++-2/string:6,
                 from test.cpp:2:
/usr/local/egcs/lib/gcc-lib/i386-unknown-netbsd1.3.2/egcs-2.93.09/include/g++-2/stl_iterator.h:38: Internal compiler error 981117.

I use NetBSD/i386 1.3.2.

	-peter


More information about the Gcc-bugs mailing list