Support Intel AMX-MOVRS
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / 20030918-1.c
blob271f0a5760f92087cc5f45becc002410d7d60bcb
1 /* The compiler was failing to adjust pointer dereferences into array
2 references after propagating &equot[0] into p. */
4 /* { dg-do compile } */
5 /* { dg-options "-Wno-old-style-definition -O -ftree-dominator-opts" } */
7 static unsigned short equot[(6 +3)];
8 int
9 foo (num)
10 unsigned short num[];
12 unsigned short *p = &equot[0];
13 *p++ = num[0];
14 *p++ = num[1];