Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

C++ compiler 19.0.2.187 crashes with provided reproducer

janiszewski__michal
421 Views
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
0 Kudos
2 Replies
Viet_H_Intel
Moderator
421 Views

This is a known issue. I think it will be fixed in the next update or so.

Thanks,

0 Kudos
janiszewski__michal
421 Views
"The next update" being 2019u3 (release just after I posted) or a later one?
0 Kudos
Reply