Quantcast
Viewing latest article 15
Browse Latest Browse All 1175

ICE when using struct with array of vectors

I'm hitting an ICE with 19.1 20200306 on Linux.  Here is a minimal reproducer (courtesy of c-reduce):

typedef float a;
struct b {
  a c __attribute__((__vector_size__(sizeof(2))));
} f;
typedef struct {
  struct b d[2];
} e;
void g() {
  e h;
  h.d[0] = f;
}

$ icc -c -o test.o test.c
test.c(10) (col. 12): internal error: 04010002_1670
 
compilation aborted for test.c (code 4)


Viewing latest article 15
Browse Latest Browse All 1175

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>