------- Comment #2 from silviug at gmail dot com 2008-05-14 21:11 ------- (In reply to comment #1) > Created an attachment (id=15638) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15638&action=view) [edit] > Archive containing source code wich generated the bug, makefile and *.ii > files. >
The problem comes from the following lines from 'qsort_openmp_v2.cpp' file: 121: #pragma omp parallel shared(vec, globalTodoStack, \ 122: numBusyThreads) private(localTodoStack) More precisely, if I erase 'private(localTodoStack)' it compiles successfully. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36237