aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/gcov
diff options
context:
space:
mode:
authorJeff Law <jlaw@localhost.localdomain>2021-07-27 14:14:05 -0400
committerJeff Law <jlaw@localhost.localdomain>2021-07-27 14:15:07 -0400
commit0853f392a213ef2cecc71ef5349aab079e30f5a0 (patch)
tree3b55bdda24b55c25a84abbb798c8feee6b6e0767 /gcc/testsuite/g++.dg/gcov
parent573e20aaca836029b309a053c8ef19367f27bdc1 (diff)
downloadgcc-0853f392a213ef2cecc71ef5349aab079e30f5a0.zip
gcc-0853f392a213ef2cecc71ef5349aab079e30f5a0.tar.gz
gcc-0853f392a213ef2cecc71ef5349aab079e30f5a0.tar.bz2
Fix argument to pthread_join
gcc/testsuite * g++.dg/gcov/gcov-threads-1.C: Fix argument to pthread_join.
Diffstat (limited to 'gcc/testsuite/g++.dg/gcov')
-rw-r--r--gcc/testsuite/g++.dg/gcov/gcov-threads-1.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/gcov/gcov-threads-1.C b/gcc/testsuite/g++.dg/gcov/gcov-threads-1.C
index b020dd8..3ae0078 100644
--- a/gcc/testsuite/g++.dg/gcov/gcov-threads-1.C
+++ b/gcc/testsuite/g++.dg/gcov/gcov-threads-1.C
@@ -36,7 +36,7 @@ int main(int argc, char **argv) {
assert (r == 0); /* count(5*) */
}
- int ret;
+ void *ret;
for (int i = 0; i < NR; i++)
{
int r = pthread_join (t[i], (void**)&ret);