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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [tree-prof/] [tracer-1.c] - Blame information for rev 298

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

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-options "-O2 -ftracer -fdump-tree-tracer" } */
2
main ()
3
{
4
  int i;
5
  int a, b, c;
6
  for (i = 0; i < 1000; i++)
7
    {
8
      if (i % 17)
9
        a++;
10
      else
11
        b++;
12
      c++;
13
    }
14
  return 0;
15
}
16
/* Superblock formation should produce two copies of the increment of c */
17
/* { dg-final-generate { scan-tree-dump-times "goto <bb 6>;" 2 "tracer" } } */
18
/* { dg-final-use { cleanup-tree-dump "tracer" } } */

powered by: WebSVN 2.1.0

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