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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [gomp/] [pr25996.c] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* PR c/25996 */
2
 
3
void
4
test1 (void)
5
{
6
#pragma omp for
7
  for (i = 0; i < 1; ++i); /* { dg-error "undeclared|for each function" } */
8
}
9
 
10
void
11
test2 (void)
12
{
13
  int i;
14
#pragma omp for
15
  for (i = j; i < 1; ++i); /* { dg-error "undeclared" } */
16
}
17
 
18
void
19
test3 (void)
20
{
21
  int i;
22
#pragma omp for
23
  for (i = 0; i < j; ++i); /* { dg-error "undeclared|invalid controlling predicate" } */
24
}
25
 
26
void
27
test4 (void)
28
{
29
  int i;
30
#pragma omp for
31
  for (i = 0; i < 10; i += j); /* { dg-error "undeclared|invalid increment expression" } */
32
}

powered by: WebSVN 2.1.0

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