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

icc 17.0.1 crashes on valid C++ code on x86_64-linux-gnu (Segmentation violation signal raised)

$
0
0

Compiler version and platform: 

Intel(R) C Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 17.0.1.132 Build 20161005 

$ g++ -c small.cpp
$ clang++ -c small.cpp
$
$ icc -c small.cpp": internal error: ** The compiler has encountered an unexpected problem.
** Segmentation violation signal raised. **
Access violation or stack overflow. Please contact Intel Support for assistance.

compilation aborted for small.cpp (code 4)
$
$ cat small.cpp
struct S
{
  S () {}
  S (const S &) {}
};

S foo ()
{
  return ({ S (); });
}
$

 


Viewing all articles
Browse latest Browse all 1175

Trending Articles



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