Quantcast
Channel: Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1616

icpc 16.02 compiler bug -trackback and -O0 incompatiblity

$
0
0

I discovered this bug on Mac OSX 10.11.3. It may or may not also occur for the Linux version. I have a C++ program that will not compile when using both -trackback and -O0. The failure message is

": internal error: 04020005_2237

compilation aborted for Cmd.cc (code 4)

The attached tar file contains an extraction for the code that was exhibiting this problem. I hope you can reproduce the problem on a mac pro running 10.11.3. The procedure is a follows

icpc -c Cmd.cc

normal compile

icpc -c -traceback Cmd.cc

normal compile

icpc -c -O0  Cmd.cc

normal compile

icpc -c -traceback -O0 Cmd.cc
": internal error: 04020005_2237

compilation aborted for Cmd.cc (code 4)

By my understanding -O0 means no optimization, but apparently something is being done to make the compile fail. At the least it should return an understandable error message, not internal error.

 

AdjuntoTamaño
Descargarapplication/x-gzipicpc-bug.tar.gz6.46 KB

Viewing all articles
Browse latest Browse all 1616

Trending Articles



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