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

Crash with -Wreorder

alex_sh
Beginner
237 Views

On Linux the following code causes:

(0): internal error: backend signals

compilation aborted for intel_crash.cpp (code 4)

---------------- The Code

// Compile with
// icpc intel_crash.cpp -o intel_crash -Wreorder


struct ObjectBase
{
ObjectBase(int) { }
};

struct Object : virtual public ObjectBase
{
Object(int) : ObjectBase(0) { }
};

struct A : public Object
{
A() : ObjectBase(0), Object(0) { }
};


int main()
{
return 0;
}

------------------------------

System notes: Intel C++ for Linux 10.1.018, OpenSUSE 10.3, gcc 4.2.
0 Kudos
0 Replies
Reply