Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Zhendong_Su
Beginner
76 Views

icc 17.0.0 crashes on valid C code at -O2 and -O3 on x86_64-linux-gnu (internal error: 0_76)

Compiler version and platform: 

Intel(R) C Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 17.0.0.098 Build 20160721

$ icc -Os -c small.c
$ 
$ icc -O2 -c small.c
": internal error: 0_76

compilation aborted for small.c (code 4)
$ 
$ cat small.c
char a, b;

void f ()
{
  for (; a; a++)
    {
      int i; 
      b |= i;
    }
}
$ 

 

0 Kudos
2 Replies
Judith_W_Intel
Employee
76 Views

 

Thanks for the small reproducer. I can reproduce it with our latest development compiler and I submitted this in our internal bugs database as DPD200415523.

Zhendong_Su
Beginner
76 Views

Thank you, Judith.