PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr46049.c
blobffc72e5602b703c77333f4cf0dbff74bddc8250b
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++;