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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [gomp/] [for-13.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// At one point in development, a typo disabled the remapping of the
2
// for iteration variable as private.
3
 
4
// { dg-do compile }
5
// { dg-options "-fopenmp -fdump-tree-lower" }
6
 
7
extern void bar(int);
8
void foo(void)
9
{
10
  int i;
11
 
12
#pragma omp parallel for default(none)
13
  for (i = 0; i < 10; i++)
14
    bar(i);
15
}
16
 
17
// { dg-final { scan-tree-dump-times "omp_data_o" 0 "lower" } }
18
// { dg-final { cleanup-tree-dump "lower" } }

powered by: WebSVN 2.1.0

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