http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48802
Summary: ICE with inheritance and nothrow virtual destructors
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: [email protected]
ReportedBy: [email protected]
namespace std {
struct range_error {
virtual ~range_error() throw();
};
struct Uncertain_conversion_exception : std::range_error {
~Uncertain_conversion_exception() throw() {
}
};
}
$ c++ bug.cc -fsyntax-only
bug.cc:7:3: internal compiler error: Segmentation fault
(I noticed it with C++0x, but it seems to apply to C++03 as well)