PR tree-optimization/83369 - Missing diagnostics during inlining
[official-gcc.git] / gcc / testsuite / gcc.dg / pr37360.c
blobd2ca7f38897ae8ee710f2471c828bdf52e005563
1 /* PR rtl-optimization/37360 */
2 /* { dg-do compile { target fpic } } */
3 /* { dg-options "-O3 -fPIC" } */
5 typedef unsigned int UQItype __attribute__ ((mode (QI)));
6 typedef unsigned int USItype __attribute__ ((mode (SI)));
8 extern const UQItype __popcount_tab[256];
9 extern int __popcountsi2 (USItype);
11 int
12 __popcountsi2 (USItype x)
14 int i, ret = 0;
16 for (i = 0; i < (4 * 8); i += 8)
17 ret += __popcount_tab[(x >> i) & 0xff];
19 return ret;