[Openmp-commits] [PATCH] D41542: [OMPT] Add missing initialization in nested_lwt.c test case
Paul Osmialowski via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Fri Dec 22 04:33:29 PST 2017
pawosm01 created this revision.
pawosm01 added a reviewer: Hahnfeld.
Herald added a subscriber: openmp-commits.
Without this initialization this test case tend to fail.
Repository:
rOMP OpenMP
https://reviews.llvm.org/D41542
Files:
runtime/test/ompt/parallel/nested_lwt.c
Index: runtime/test/ompt/parallel/nested_lwt.c
===================================================================
--- runtime/test/ompt/parallel/nested_lwt.c
+++ runtime/test/ompt/parallel/nested_lwt.c
@@ -8,7 +8,7 @@
int main()
{
omp_set_nested(1);
- int condition;
+ int condition = 0;
#pragma omp parallel num_threads(4)
{
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41542.128013.patch
Type: text/x-patch
Size: 341 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20171222/a1df8246/attachment.bin>
More information about the Openmp-commits
mailing list