Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/vect/pr46049.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* { dg-do compile } */ typedef __INT16_TYPE__ int16_t; typedef __INT32_TYPE__ int32_t; static inline int32_t bar (int16_t x, int16_t y) { return x * y; } void foo (int16_t i, int16_t *p, int16_t x) { while (i--) { *p = bar (*p, x) >> 15; p++; *p = bar (*p, x) >> 15; p++; } }