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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [tree-prof/] [pr52027.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
/* PR debug/52027 */
2
/* { dg-require-effective-target freorder } */
3
/* { dg-options "-O -freorder-blocks-and-partition -fno-reorder-functions" } */
4
 
5
void
6
foo (int len)
7
{
8
  char array[1000];
9
  __builtin_memset (array, 0, len);
10
}
11
 
12
int
13
main ()
14
{
15
  int i;
16
  for (i = 0; i < 1000; i++)
17
    foo (8);
18
  return 0;
19
}

powered by: WebSVN 2.1.0

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