URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [vect/] [pr46049.c] - Rev 689
Compare with Previous | Blame | View Log
/* { 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++; } } /* { dg-final { cleanup-tree-dump "vect" } } */