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

C++ compiler 19.0.2.187 crashes with provided reproducer

$
0
0

Using icpc (ICC) 19.0.2.187 20190117, when trying to compile the following code:

struct a {
~a();
};
struct b {
a c;
a d;
};
struct e {
b f[4];
};
class g {
e h{};
};
void i() { g(); }

the compiler crashes with following error message:
": internal error: ** The compiler has encountered an unexpected problem.
** Segmentation violation signal raised. **
Access violation or stack overflow. Please contact Intel Support for assistance.

icpc: error #10105: /opt/intel/compilers_and_libraries_2019.2.187/linux/bin/intel64/mcpcom: core dumped
icpc: warning #10102: unknown signal(2039514896)
icpc: error #10106: Fatal error in /opt/intel/compilers_and_libraries_2019.2.187/linux/bin/intel64/mcpcom, terminated by unknown

The provided example compiles fine with GCC, Clang and MSVC: https://godbolt.org/z/H5w7CK


Viewing all articles
Browse latest Browse all 1175

Trending Articles



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