internal bug 892

Aides, Dov-Nir dov-nir.aides@intel.com
Thu Apr 29 06:31:00 GMT 1999


hello,

i have come across an internal bug:

Compiling prsRepeat.cpp
./prs/prsRepeat.cpp:12: Internal compiler error 892.
./prs/prsRepeat.cpp:12: Please submit a full bug report to
`egcs-bugs@cygnus.com'.

the relevant piece of code is:


#include "prsRepeat.h"

	
	
template <>
void t_prsRepeat<pair<t_idVal, t_intVal> >::printImplicitObj( ostream &out )
const {   //THIS IS LINE 12 !!!

	std::vector<t_prsRepeat*>::const_iterator
rep_itr( repeat_vector_d.begin() ), rep_itr_end( repeat_vector_d.end() );
	std::vector<pair<t_idVal, t_intVal> >::const_iterator obj_itr(
object_vector_d.begin() );			

	for (int index = 0; index < internal_index_d; index++)
		if (rep_itr < rep_itr_end && (*rep_itr)->external_index_d ==
index) {

			(*rep_itr)->printObj( out );
			rep_itr++;
		}
		else {

			cout << obj_itr->first << ' ' << obj_itr->second <<
endl;
			obj_itr++;
		}
}


this is a template specialization, done by the book. prsRepeat.h is the
template header

i would appreciate your reply as to what this compiler error means as soon
as possible
thanks
nir.


More information about the Gcc-bugs mailing list