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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [tree-prof/] [wcoverage-mismatch.c] - Blame information for rev 749

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-options "-O2 -Wno-coverage-mismatch" } */
2
 
3
int __attribute__((noinline)) bar (void)
4
{
5
}
6
 
7
int foo (int i)
8
{
9
#ifdef _PROFILE_USE
10
  if (i)
11
    bar ();
12
#endif
13
  return 0;
14
}
15
 
16
int main(int argc, char **argv)
17
{
18
  foo (argc);
19
  return 0;
20
}

powered by: WebSVN 2.1.0

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