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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.dg/] [tree-prof/] [wcoverage-mismatch.c] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-options "-O2 -Wcoverage-mismatch -w" } */
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.