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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [libgomp/] [testsuite/] [libgomp.c/] [appendix-a/] [a.26.1.c] - Blame information for rev 320

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

Line No. Rev Author Line
1 273 jeremybenn
/* { dg-do run } */
2
 
3
#include <stdio.h>
4
int
5
main ()
6
{
7
  int i, j;
8
  i = 1;
9
  j = 2;
10
#pragma omp parallel private(i) firstprivate(j)
11
  {
12
    i = 3;
13
    j = j + 2;
14
  }
15
  printf ("%d %d\n", i, j);     /* i and j are undefined */
16
  return 0;
17
}

powered by: WebSVN 2.1.0

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