Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
27 Views

C++ compiler 19.0.2.187 crashes with provided reproducer

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
Highlighted
Moderator
27 Views

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

Thanks,

0 Kudos
Highlighted
27 Views

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