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

icc 17.0.0 crashes on valid C++ code on x86_64-linux-gnu (internal error: 04010002_1529)

Zhendong_Su
Beginner
482 Views

Compiler version and platform: 

Intel(R) C Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 17.0.0.098 Build 20160721

$ icc -c small.cpp
small.cpp(5) (col. 3): internal error: 04010002_1529

compilation aborted for small.cpp (code 4)
$ 
$ g++-6.2 -c small.cpp
$ clang++-3.8 -c small.cpp
$ 
$ cat small.cpp
void f (...);   // okay if: void f (...) {}

void g ()
{
  f (&reinterpret_cast <int &> (g));
}
$ 

 

0 Kudos
1 Reply
Yuan_C_Intel
Employee
482 Views

Hi, Zhendong

I have reproduce the issue you reported. Thank you for raising the issue.

I have entered this issue in our problem-tracking system. We will try to resolve this issue as soon as we can. However, please be advised that this issue may have to be targeted to for the next major release. I will let you know when I have an update on this issue.

Thanks.

0 Kudos
Reply