Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

assertion failed

esio
Beginner
239 Views
Hi!
I have Ubuntu 10.10 i686 and icpc/icc 12.0.4 and i have a problem.
When i compile my sources by GCC (gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5)) it's all ok.
I try compile it with ICC and i have error message:
/source_dir/source.cpp(70): internal error: assertion failed at: "shared/edgcpfe/decl_inits.c", line 5905
Function::~Function( void )
^
I need help...
0 Kudos
1 Reply
Judith_W_Intel
Employee
239 Views

Could you please provide a reproducer (preprocess the sources with the -E -P flag and then attach the .i file)?

It seems like you are hittingthis one:

Internal error in dtor_initializer on using-declaration for operator delete

In some cases, the front end previously aborted with an internal error in
dtor_initializer (decl_inits.c) when processing the definition of a destructor
of a class containing a using-declaration for a set of "delete" operators in a
base class. For example:

struct B {
void operator delete(void*);
void operator delete(void*, void*);
virtual ~B();
};
struct D: B {
using B::operator delete;
~D() {} // The front end previously aborted when processing this
}; // destructor definition.


If so this bug is fixed in release 12.1.

thanks,
Judy
0 Kudos
Reply