Commit 9a265443 by Eric Botcazou Committed by Eric Botcazou

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
parent 306b0c92
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> 2017-06-28 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
* gcc.target/s390/nodatarel-1.c: New test. * gcc.target/s390/nodatarel-1.c: New test.
......
...@@ -35,9 +35,9 @@ int main(int argc, char *argv[]) ...@@ -35,9 +35,9 @@ int main(int argc, char *argv[])
} }
} }
int retval; void *retval;
for(t=0;t<NUM_THREADS;t++) for(t=0;t<NUM_THREADS;t++)
pthread_join (threads[t], (void**)&retval); pthread_join (threads[t], &retval);
return buffer[10]; return buffer[10];
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment