bug in c++: static array of objects

Weiwen Liu weiwen.liu@yale.edu
Sun Dec 13 13:08:00 GMT 1998


On alphaev56-dec-osf4.0, the following source code failed to be compiled
by
gcc version egcs-2.92.28 19981213 (gcc2 ss-980609 experimental)

The error message is
../../gcc/expr.c:5811: Internal compiler error in function expand_expr


class TString {
public:
   TString();
   virtual ~TString();
};

void mncrck()
{
    static TString celmnt[25];
}  





More information about the Gcc-bugs mailing list