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

Crash when compiling certain OpenMP code

ben_p_
Beginner
244 Views

My OpenMP code, which had been compiling with under ICC through version 18.0.0, now causes a segfault in ICC when I attempt to compile it.

I've isolated and included below the piece of code causing the crash.  Trying to compile it with ICC 18.0.2 gives the following output:

$ icc -std=c99 -qopenmp crash.c
": 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 crash.c (code 4)

I've also tried this on ICC 18.0.3 on a different machine, with the same result.

0 Kudos
1 Reply
Viet_H_Intel
Moderator
244 Views

 

Thank for reporting this issue. I've filed a bug to our developer. CMPLRS-51232

 

Regards,

Viet

0 Kudos
Reply