GCOV: add cache for streamed locations.
[official-gcc.git] / gcc / testsuite / gcc.misc-tests / gcov-pr85338.c
blobd1e16d29c7a81191b72c007f63e3e0f2a78c15ec
1 /* { dg-options "-fprofile-arcs -ftest-coverage" } */
2 /* { dg-do run { target native } } */
4 void Test(long long Val, int Amt)
6 __builtin_printf(" lshr: 0x%llx \t\t shl: 0x%llx\n", Val >> Amt, Val << Amt); /* count(1) */
7 __builtin_printf(" lshr: 0x%llx\t\tshl: 0x%llx\n", /* count(1) */
8 Val >> Amt, Val << Amt);
9 __builtin_printf(" lshr: 0x%llx \t\t shl: 0x%llx\n", /* count(1) */
10 (unsigned long long)Val >> Amt, Val << Amt);
13 int main()
15 Test(10, 4);
17 return 0;
21 /* { dg-final { run-gcov gcov-pr85338.c } } */