Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(447)

Unified Diff: gcc/libgomp/testsuite/libgomp.c++/task-1.C

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/libgomp/testsuite/lib/libgomp.exp ('k') | gcc/libgomp/testsuite/libgomp.fortran/fortran.exp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/libgomp/testsuite/libgomp.c++/task-1.C
diff --git a/gcc/libgomp/testsuite/libgomp.c++/task-1.C b/gcc/libgomp/testsuite/libgomp.c++/task-1.C
index 535a8287b0cfb3ecc6ffdd623a83acbaefd8a2a7..94ab6f21f18bb4c582540773910ec6d9470043fd 100644
--- a/gcc/libgomp/testsuite/libgomp.c++/task-1.C
+++ b/gcc/libgomp/testsuite/libgomp.c++/task-1.C
@@ -20,7 +20,7 @@ f1 (int i, int j, int k)
}
int v1 = 1, v2 = 2, v5 = 5;
-int err;
+int e;
void
f2 (void)
@@ -35,12 +35,12 @@ f2 (void)
#pragma omp task
{
if (++v1 != 8 || ++v2 != 3 || ++v3 != 4 || ++v4 != 5 || ++v5 != 6)
- err = 1;
+ e = 1;
}
#pragma omp taskwait
if (v1 != 7 || v2 != 2 || v3 != 3 || v4 != 4 || v5 != 6)
abort ();
- if (err)
+ if (e)
abort ();
}
}
« no previous file with comments | « gcc/libgomp/testsuite/lib/libgomp.exp ('k') | gcc/libgomp/testsuite/libgomp.fortran/fortran.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698