PR tree-optimization/93683 - ICE on calloc with unused return value in ao_ref_init_fr...
[gcc.git] / gcc / testsuite / gcc.dg / pr49496.c
1 /* PR debug/49496 */
2 /* { dg-do compile } */
3 /* { dg-options "-O3 -fcompare-debug" } */
4
5 unsigned short u[8], s1[8], s2[8];
6
7 void bar (unsigned short *);
8
9 void
10 foo (void)
11 {
12 unsigned short e[8];
13 int i;
14 for (i = 0; i < 8; i++)
15 {
16 int tmp = s1[i] * s2[i];
17 e[i] = (tmp & 0xffff0000) >> 16;
18 }
19 bar (e);
20 }