URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [pr42916.c] - Rev 301
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-O1 -funroll-loops -ftree-vectorize -fcompare-debug" } */ int seed; static inline int hash(const char *str) { int h = seed++; int i = 12; while (i--) h += (h << 3) ^ *str++; return h; } void f(const char *str, int *h) { int i = 6; while (i--) *h++ = hash(str); }
Go to most recent revision | Compare with Previous | Blame | View Log