OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gcc.dg/] [tree-prof/] [tracer-1.c] - Diff between revs 298 and 384

Only display areas with differences | Details | Blame | View Log

Rev 298 Rev 384
/* { dg-options "-O2 -ftracer -fdump-tree-tracer" } */
/* { dg-options "-O2 -ftracer -fdump-tree-tracer" } */
main ()
main ()
{
{
  int i;
  int i;
  int a, b, c;
  int a, b, c;
  for (i = 0; i < 1000; i++)
  for (i = 0; i < 1000; i++)
    {
    {
      if (i % 17)
      if (i % 17)
        a++;
        a++;
      else
      else
        b++;
        b++;
      c++;
      c++;
    }
    }
  return 0;
  return 0;
}
}
/* Superblock formation should produce two copies of the increment of c */
/* Superblock formation should produce two copies of the increment of c */
/* { dg-final-generate { scan-tree-dump-times "goto <bb 6>;" 2 "tracer" } } */
/* { dg-final-generate { scan-tree-dump-times "goto <bb 6>;" 2 "tracer" } } */
/* { dg-final-use { cleanup-tree-dump "tracer" } } */
/* { 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.