Skip to content

Commit

Permalink
* testsuite/libgomp.c++/task-1.C: Renamed err to e.
Browse files Browse the repository at this point in the history
	* testsuite/libgomp.c++/task-6.C: Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156354 138bc75d-0d04-0410-961f-82ee72b054a4
  • Loading branch information
ro committed Jan 29, 2010
1 parent 453b283 commit 1420395
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions libgomp/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2010-01-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>

* testsuite/libgomp.c++/task-1.C: Renamed err to e.
* testsuite/libgomp.c++/task-6.C: Likewise.

2010-01-28 Steve Ellcey <sje@cup.hp.com>

* configure.tgt (*-*-hpux*): Add -frandom-seed flag.
Expand Down
6 changes: 3 additions & 3 deletions libgomp/testsuite/libgomp.c++/task-1.C
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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 ();
}
}
Expand Down
6 changes: 3 additions & 3 deletions libgomp/testsuite/libgomp.c++/task-6.C
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ f1 (T i, T j, T k)
}

int v1 = 1, v2 = 2, v5 = 5;
int err;
int e;

template <typename T>
void
Expand All @@ -37,12 +37,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 ();
}
}
Expand Down

0 comments on commit 1420395

Please sign in to comment.