Quantcast
Channel: Intel® Software - Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1175

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

$
0
0

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));
}
$

 


Viewing all articles
Browse latest Browse all 1175

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>