Add compile command to each testcase
[gcc-vect-testsuite.git] / pr46049.c
blob90020681ef2e0f29abb770f76f6f6a5f025e48d3
1 /* { dg-do compile } */
3 typedef __INT16_TYPE__ int16_t;
4 typedef __INT32_TYPE__ int32_t;
6 static inline int32_t bar (int16_t x, int16_t y)
8 return x * y;
11 void foo (int16_t i, int16_t *p, int16_t x)
13 while (i--)
15 *p = bar (*p, x) >> 15;
16 p++;
17 *p = bar (*p, x) >> 15;
18 p++;
21 /* { dg-final { cleanup-tree-dump "vect" } } */