OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.misc-tests/] [gcov-10.c] - Blame information for rev 757

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 690 jeremybenn
/* Test gcov block mode.  */
2
 
3
/* { dg-options "-fprofile-arcs -ftest-coverage" } */
4
/* { dg-do run { target native } } */
5
 
6
int main ()
7
{
8
  unsigned ix, jx = 0;
9
 
10
  for (ix = 10; ix--;) if (ix & 1) jx++; /* count(11) */
11
 
12
  return jx != 5;
13
}
14
 
15
/* { dg-final { run-gcov { -a gcov-10.c } } } */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.