val-profiler-threads-1.c (main): Fix 2nd argument passed to pthread_join.
2017-06-28 Eric Botcazou <ebotcazou@adacore.com> * gcc.dg/tree-prof/val-profiler-threads-1.c (main): Fix 2nd argument passed to pthread_join. From-SVN: r249723
This commit is contained in:
parent
306b0c920f
commit
9a265443ff
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2017-06-28 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* gcc.dg/tree-prof/val-profiler-threads-1.c (main): Fix 2nd argument
|
||||
passed to pthread_join.
|
||||
|
||||
2017-06-28 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
||||
|
||||
* gcc.target/s390/nodatarel-1.c: New test.
|
||||
|
|
|
@ -35,9 +35,9 @@ int main(int argc, char *argv[])
|
|||
}
|
||||
}
|
||||
|
||||
int retval;
|
||||
void *retval;
|
||||
for(t=0;t<NUM_THREADS;t++)
|
||||
pthread_join (threads[t], (void**)&retval);
|
||||
pthread_join (threads[t], &retval);
|
||||
|
||||
return buffer[10];
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue