[Openmp-commits] [PATCH] D50084: [test] Convert test for PR36720 to c89
Jonas Hahnfeld via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Tue Jul 31 23:27:21 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL338490: [test] Convert test for PR36720 to c89 (authored by Hahnfeld, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D50084?vs=158324&id=158469#toc
Repository:
rL LLVM
https://reviews.llvm.org/D50084
Files:
openmp/trunk/runtime/test/tasking/bug_36720.c
Index: openmp/trunk/runtime/test/tasking/bug_36720.c
===================================================================
--- openmp/trunk/runtime/test/tasking/bug_36720.c
+++ openmp/trunk/runtime/test/tasking/bug_36720.c
@@ -16,15 +16,17 @@
int main() {
#pragma omp task
{
+ int i;
#pragma omp parallel for
- for (int i = 0; i < N; i++)
+ for (i = 0; i < N; i++)
(void)0;
}
#pragma omp task
{
+ int i;
#pragma omp parallel for
- for (int i = 0; i < N; ++i)
+ for (i = 0; i < N; ++i)
(void)0;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50084.158469.patch
Type: text/x-patch
Size: 559 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20180801/cf757830/attachment.bin>
More information about the Openmp-commits
mailing list