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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [gomp/] [pr25989.c] - Rev 816

Compare with Previous | Blame | View Log

/* PR middle-end/25989 */
/* { dg-do compile } */
/* { dg-options "-O2 -fopenmp" } */
 
int
main (void)
{
  int i, j;
  float a, b = 1.0;
 
#pragma omp parallel for schedule(guided,1) private(j)
  for (i = 1; i <= 9; i++)
    for (j = 1; j <= 9; j++)
      a = b;
  return 0;
}
 

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.