Un-numbered internal compiler error.
Theodore Papadopoulo
Theodore.Papadopoulo@sophia.inria.fr
Wed May 6 14:48:00 GMT 1998
egcs/g++ (version 1.0.2 or cvs 19980425) as well as g++-2.8.1 crash with
the following code. This seems machine independent (the problem is at least
present with linux and solaris 2.5.1).
#include <map>
class P {
public:
typedef unsigned char tag[3];
typedef map<tag,int> R;
static R reg;
P(const tag& t) { reg.insert(R::value_type(t,1)); }
};
mururoa->/u/corse/2/robotvis/egcs/bin/g++ bug1.C
/u/corse/2/robotvis/egcs/include/g++/stl_pair.h: In method `pair<const unsigned char[3],int>::pair<unsigned char[3], int>(const unsigned char (&)[3], const int &)':
/u/corse/2/robotvis/egcs/include/g++/stl_pair.h:44: Internal compiler error.
/u/corse/2/robotvis/egcs/include/g++/stl_pair.h:44: Please submit a full bug report to `egcs-bugs@cygnus.com'.
The message is the same with g++-2.8.1 (except the E-mail).
Thank's for all your work,
Theo.
--------------------------------------------------------------------
Theodore Papadopoulo
Email: Theodore.Papadopoulo@sophia.inria.fr Tel: (33) 04 92 38 76 01
--------------------------------------------------------------------
More information about the Gcc-bugs
mailing list