Re: Memory leak or incorrect use of '#pragma omp parallel'?

2009-05-17 Thread Mikolaj Golub
On Sun, 17 May 2009 09:34:22 +0300 Mikolaj Golub wrote: MG> The problem is in libgomp/team.c. gomp_thread_start() does gomp_sem_init() MG> but gomp_sem_destroy() is never called. Registered in bugzilla http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40174 -- Mikolaj Golub

Re: Memory leak or incorrect use of '#pragma omp parallel'?

2009-05-16 Thread Mikolaj Golub
On Tue, 12 May 2009 09:33:34 +0300 Mikolaj Golub wrote: MG> On Mon, 11 May 2009 19:00:54 +0300 Mikolaj Golub wrote: >> Hello, >> >> If I run the following program >> >> --- >> >> #include >> >>

Re: Memory leak or incorrect use of '#pragma omp parallel'?

2009-05-11 Thread Mikolaj Golub
On Mon, 11 May 2009 19:00:54 +0300 Mikolaj Golub wrote: > Hello, > > If I run the following program > > --- > > #include > > int n = 4, m = 2; > > int main () { > for (;;) { > int i;

Memory leak or incorrect use of '#pragma omp parallel'?

2009-05-11 Thread Mikolaj Golub
his problem running some real application. So I am not sure if this is gcc bug or just incorrect use of '#pragma omp parallel'. -- Mikolaj Golub