------- Comment #2 from pinskia at gcc dot gnu dot org  2006-03-15 13:09 -------
Hmm, on second thought I think this is a front-end bug.
And here is a self contained testcase:
struct A
{
   int n;
   A(int i=3) : n(i) {}
};

int main()
{
    A a;
#pragma omp parallel private (a)
    if (a.n!=3)  __builtin_abort();

    return 0;
}


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|middle-end                  |c++


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

Reply via email to