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/] [g++.dg/] [gomp/] [pr27337-1.C] - Blame information for rev 315

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

Line No. Rev Author Line
1 301 jeremybenn
// PR middle-end/27337
2
// { dg-do compile }
3
 
4
struct S
5
{
6
  S ();
7
  ~S ();
8
  double &operator* () const;
9
};
10
 
11
S
12
foo ()
13
{
14
  int i;
15
  S ret;
16
 
17
#pragma omp parallel for
18
  for (i = 0; i < 2; i++)
19
    *ret += i;
20
 
21
  return ret;
22
}

powered by: WebSVN 2.1.0

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