Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
7679 Discussions

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

Zhendong_Su
Beginner
317 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
317 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.

Reply