Internal compiler error (egcs-970917).

Hyman Rosen hymie@prolifics.com
Thu Sep 18 13:18:00 GMT 1997


gcc -c -O g.cc
g.cc: In method `b::operator vector<vector<s,__default_alloc_template<false,0> >,__default_alloc_template<false,0> >()':
g.cc:15: Internal compiler error.
g.cc:15: Please submit a full bug report to `egcs-bugs@cygnus.com'.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#include <vector.h>
enum s { S };
class a
{
	vector<s> vs;
	friend class b;
};
class b
{
	vector<a> va;
	operator vector< vector<s> >()
	{
		vector< vector<s> > vvs(va.size());
		return vvs;
	}
}};



More information about the Gcc-bugs mailing list