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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [gomp/] [pr25874.C] - Rev 816

Compare with Previous | Blame | View Log

// { dg-options "-O -fopenmp" }

int foo();

struct wigner_d
  {
  void recurse () {
    int dd;
    for (int j=0; j<=1; ++j) {
#pragma omp parallel
      dd=5;
      }
    }
  };

template<typename T> void rotate_alm(T arg)
  {
  wigner_d rec;
  rec.recurse();
#pragma omp parallel
    foo();
  }

template void rotate_alm(float arg);
template void rotate_alm(double arg);

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.