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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [tree-prof/] [val-prof-6.c] - Blame information for rev 801

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-options "-O2 -fdump-tree-optimized" } */
2
char a[1000];
3
char b[1000];
4
int size=1000;
5
__attribute__ ((noinline))
6
t(int size)
7
{
8
  __builtin_memcpy(a,b,size);
9
}
10
int
11
main()
12
{
13
  int i;
14
  for (i=0; i < size; i++)
15
    t(i);
16
  return 0;
17
}
18
/* { dg-final-use { scan-tree-dump "Average value sum:499500" "optimized"} } */
19
/* { dg-final-use { scan-tree-dump "IOR value" "optimized"} } */
20
/* { dg-final-use { cleanup-tree-dump "optimized" } } */

powered by: WebSVN 2.1.0

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