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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [pr36181.c] - Blame information for rev 298

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do compile } */
2
/* { dg-require-effective-target pthread } */
3
/* { dg-options "-O3 -ftree-parallelize-loops=2" } */
4
 
5
int foo ()
6
{
7
  int i, sum = 0, data[1024];
8
 
9
  for(i = 0; i<1024; i++)
10
    sum += data[i];
11
 
12
  return sum;
13
}
14
 

powered by: WebSVN 2.1.0

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