diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2019-11-21 16:14:21 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2019-11-21 16:14:21 +0000 |
commit | b8e724465b5e1e6c479503f219cd725caaa8e781 (patch) | |
tree | 80ea08df40416098c9c352c30eea51cf708c21ee /libgomp/testsuite/libgomp.c/task-1.c | |
parent | 523cfd52a29d496a5c0445e5307e9ffc05242b20 (diff) | |
download | gcc-b8e724465b5e1e6c479503f219cd725caaa8e781.zip gcc-b8e724465b5e1e6c479503f219cd725caaa8e781.tar.gz gcc-b8e724465b5e1e6c479503f219cd725caaa8e781.tar.bz2 |
Fix failures on Solaris with -fno-common default
gcc/testsuite:
* gcc.c-torture/execute/20030913-1.c: Rename glob to g.
* gcc.c-torture/execute/960218-1.c: Rename glob to gl.
* gcc.c-torture/execute/complex-6.c: Rename err to e.
* gcc.dg/torture/ssa-pta-fn-1.c: Rename glob to g.
libgomp:
* testsuite/libgomp.c/pr39591-1.c: Rename err to e.
* testsuite/libgomp.c/pr39591-2.c: Likewise.
* testsuite/libgomp.c/pr39591-3.c: Likewise.
* testsuite/libgomp.c/private-1.c: Likewise.
* testsuite/libgomp.c/task-1.c: Likewise.
* testsuite/libgomp.c/task-5.c: Renamed err to serr.
From-SVN: r278571
Diffstat (limited to 'libgomp/testsuite/libgomp.c/task-1.c')
-rw-r--r-- | libgomp/testsuite/libgomp.c/task-1.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libgomp/testsuite/libgomp.c/task-1.c b/libgomp/testsuite/libgomp.c/task-1.c index 66f58a2..d17c3c6 100644 --- a/libgomp/testsuite/libgomp.c/task-1.c +++ b/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 (); } } |