[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#516727: gcc segfaults on simple wrong c++ code



Package: g++ (Debian 4.3.3-4) 4.3.3

The current c++ compiler segfaults on the following simple code mistake, where 
a destructor doesn't have the same id as that the class.


template< typename T >
class some_class {

    some_class() {}

    // segfault
    ~some() {}

    // no segfault
    // ~some_class() {}

};


Kind regards,

Rutger ter Borg




Reply to: