Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr49496.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
rev | line source |
---|---|
111 | 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 } |