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/] [val-prof-6.c] - Rev 826

Compare with Previous | Blame | View Log

/* { dg-options "-O2 -fdump-tree-optimized" } */
char a[1000];
char b[1000];
int size=1000;
__attribute__ ((noinline))
t(int size)
{
  __builtin_memcpy(a,b,size);
}
int
main()
{
  int i;
  for (i=0; i < size; i++)
    t(i);
  return 0;
}
/* { dg-final-use { scan-tree-dump "Average value sum:499500" "optimized"} } */
/* { dg-final-use { scan-tree-dump "IOR value" "optimized"} } */
/* { dg-final-use { cleanup-tree-dump "optimized" } } */
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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