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

Internal error: 04010002_1671

nemequ
New Contributor I
1,009 Views

I have some code which generates an ICE when compiled with ICC 2021.2.0 on Linux.  Here is a reduced test case:

typedef char a;
typedef struct {
  a b __attribute__((__vector_size__(16)));
} c;
typedef struct {
  c d[4];
} e;
c f;
e g;
c i(e h) { return f; }
void j() { i(g); }
# icc -o test test.c
test.c(11) (col. 14): internal error: 04010002_1671

compilation aborted for test.c (code 4)

If you want to reproduce using the original code (before it was reduced), it is SIMDe. The code is hiding from ICC behind an ifdef right now, but changing simde/simde-common.h:965 to `#elif 0`, then compiling normally should trigger the issue.

0 Kudos
3 Replies
MRajesh_intel
Moderator
966 Views

Hi,


Thanks for reporting the issue. It was reproducible at our end.


We are working on this internally.


Regards

Rajesh.




0 Kudos
Viet_H_Intel
Moderator
944 Views

I've reported this bug to our Compiler Developer.

Thanks,


0 Kudos
Viet_H_Intel
Moderator
630 Views

Hi,


Not sure if you are aware, but the classic C/C++ compilers will enter “Legacy Product Support” mode signaling the end of regular updates to the classic compiler base, and they will no longer appear in oneAPI toolkits.


Please see the article for more details:

https://www.intel.com/content/www/us/en/developer/articles/technical/adoption-of-llvm-complete-icx.h...


Please migrate your code to icx.

We are going to close this as "won't fix"


Regards,

Viet


0 Kudos
Reply