2014-07-29 Ed Smith-Rowland <3dw4rd@verizon.net>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr49496.c
blob06563f3bcdf1cfad5547ed1412d1d1c952e84190
1 /* PR debug/49496 */
2 /* { dg-do compile } */
3 /* { dg-options "-O3 -fcompare-debug" } */
5 unsigned short u[8], s1[8], s2[8];
7 void bar (unsigned short *);
9 void
10 foo (void)
12 unsigned short e[8];
13 int i;
14 for (i = 0; i < 8; i++)
16 int tmp = s1[i] * s2[i];
17 e[i] = (tmp & 0xffff0000) >> 16;
19 bar (e);