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

BUG REPORT! internal error: assertion failed at: "shared/edgcpfe/lower_il.c", line 4681

cheusov
Beginner
364 Views
icc-8.0 for Linuxfailes while compiling the following code
with -fno-rtti option.
class A {
public:
virtual void fun1 () const = 0;
};
class B : virtual public A {
public:
virtual void fun2 () const = 0;
};
class C : virtual public A {
public:
virtual void fun3 () const = 0;
};
class D : public C, public B {
};
int main ()
{
return 0;
}
0 d g++>icc -fno-rtti main.cpp -o main
main.cpp(16): internal error: assertion failed at: "shared/edgcpfe/lower_il.c", line 4681
class D : public C, public B {
^
compilation aborted for main.cpp (code 4)
4 d g++>
0 Kudos
3 Replies
Maximillia_D_Intel
364 Views
Dear Cheusov,
An emitted compiler assertion is definitely worth a premier support issue. One thought, does the code compile without the -nortti switch?
Max
0 Kudos
cheusov
Beginner
364 Views
Everything works fine without -fno-rtti flag.
Is my report enough for this bug to be fixed in future releases?
P.S.
It seems this forum doesn't work with galeon browser under Linux.
Is it InternetExplorer oriented only?
0 Kudos
Max_L
Employee
364 Views
Thanks for report, but problem has been already fixed in 8.1 You can download recent 8.1.021 version from Premier support site to check it.

Max
0 Kudos
Reply