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 foo(void)10foo (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 } 21