Community
cancel
Showing results for 
Search instead for 
Did you mean: 
nemequ
New Contributor I
94 Views

Internal error: 04010002_1671

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
2 Replies
MRajesh_intel
Moderator
51 Views

Hi,


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


We are working on this internally.


Regards

Rajesh.




Viet_H_Intel
Moderator
29 Views

I've reported this bug to our Compiler Developer.

Thanks,


Reply