------- Comment #5 from reichelt at gcc dot gnu dot org  2008-02-06 22:31 
-------
Even shorter testcase that doesn't trigger a warning:

===============================
struct A
{
  ~A() throw();
  void foo();
};

struct B
{
  B() { A().foo(); }
};

void bar()
{
#pragma omp parallel
  {
#pragma omp critical
    B();
#pragma omp for
    for (int i=0; i<2; ++i)
      B();
  }
}
===============================


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35099

Reply via email to