This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/36237] internal compiler error: in lower_stmt, at gimple-low.c:282



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]