This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Internal compiler error in function expand_expr


On sparc-sun-solaris2.5.1, using egcs-2.93.09 19990223, I get

<path>/expr.c:5861: Internal compiler error in function expand_expr

for the source

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


class B {
    public:
    B ();
};

B::B(){
    static A as[4];
}

This happens somewhere inside the destructor that is going to be
registered with atexit; although I'm lost when trying to find the
actual cause of the crash.

Regards,
Martin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]